refactor: Put paste model in separate file

This commit is contained in:
Daan Sprenkels
2019-09-22 14:03:27 +02:00
parent f36ed4a4c7
commit 0ecdaafe2f
4 changed files with 190 additions and 163 deletions

View File

@@ -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>

View File

@@ -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}}