Only provide deleteToken if requested by user
This commit is contained in:
1 parent
f45c132b41
commit
f36ed4a4c7
4 files changed
+13
-4
No files matched your search
@@ -9,6 +9,9 @@ the command line.
|
||||
## USAGE
|
||||
|
||||
# Shorten a URL
|
||||
curl -F'shorten=http://example.com/some/long/url' <a href="https://hashru.link">https://hashru.link</a>
|
||||
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}}
|
||||
Reference in new issue
Block a user