Revert "Remove file storage possibility for now (awaits #12)"
This reverts commit 801ac8adbb
.
This commit is contained in:
parent
66eb0bf97a
commit
c82a71f7d0
@ -8,6 +8,9 @@ the command line.
|
|||||||
|
|
||||||
## USAGE
|
## USAGE
|
||||||
|
|
||||||
|
# Upload a file
|
||||||
|
curl -F'file=@yourfile.png' <a href="{{.Request.Host}}">{{.Request.Host}}</a>
|
||||||
|
|
||||||
# Shorten a URL
|
# Shorten a URL
|
||||||
curl -F'shorten=http://example.com/some/long/url' <a href="//{{.Request.Host}}">https://{{.Request.Host}}</a>
|
curl -F'shorten=http://example.com/some/long/url' <a href="//{{.Request.Host}}">https://{{.Request.Host}}</a>
|
||||||
|
|
||||||
|
@ -6,6 +6,9 @@ the command line.
|
|||||||
|
|
||||||
## USAGE
|
## USAGE
|
||||||
|
|
||||||
|
# Upload a file
|
||||||
|
curl -F'file=@yourfile.png' {{.Request.Host}}
|
||||||
|
|
||||||
# Shorten a URL
|
# Shorten a URL
|
||||||
curl -F'shorten=http://example.com/some/long/url' https://{{.Request.Host}}
|
curl -F'shorten=http://example.com/some/long/url' https://{{.Request.Host}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user