forked from electricdusk/rushlink
Allow internal server error using panic()
This commit is contained in:
@@ -7,10 +7,10 @@ the command line.
|
||||
## USAGE
|
||||
|
||||
# Upload a file
|
||||
curl -F'file=@yourfile.png' {{Request.Host}}
|
||||
curl -F'file=@yourfile.png' {{.Request.Host}}
|
||||
|
||||
# Shorten a URL
|
||||
curl -F'shorten=http://example.com/some/long/url' {{Request.Host}}
|
||||
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}}
|
||||
Reference in New Issue
Block a user