forked from electricdusk/rushlink
refactor: Put paste model in separate file
This commit is contained in:
@@ -8,6 +8,9 @@ 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>
|
||||
|
||||
|
||||
@@ -6,6 +6,9 @@ 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}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user