Remove file storage possibility for now (awaits #12)

This commit is contained in:
Gerdriaan Mulder 2019-11-09 21:46:40 +01:00
parent b738116f8a
commit 801ac8adbb
2 changed files with 2 additions and 8 deletions

View File

@ -8,13 +8,10 @@ the command line.
## USAGE
# Upload a file
curl -F'file=@yourfile.png' <a href="{{.Request.Host}}">{{.Request.Host}}</a>
# Shorten a URL
curl -F'shorten=http://example.com/some/long/url' <a href="{{.Request.Host}}">{{.Request.Host}}</a>
# Shorten a URL with a token to delete it later
curl -F'shorten=http://example.com/some/long/url' -F'deleteToken=' <a href="{{.Request.Host}}">{{.Request.Host}}</a>
</pre>
{{end}}
{{end}}

View File

@ -6,11 +6,8 @@ the command line.
## USAGE
# Upload a file
curl -F'file=@yourfile.png' {{.Request.Host}}
# Shorten a URL
curl -F'shorten=http://example.com/some/long/url' {{.Request.Host}}
# Shorten a URL with a token to delete it later
curl -F'shorten=http://example.com/some/long/url' -F'deleteToken=' {{.Request.Host}}
curl -F'shorten=http://example.com/some/long/url' -F'deleteToken=' {{.Request.Host}}