forked from electricdusk/rushlink
41f4de43ac
Fixes #25
16 lines
658 B
Cheetah
16 lines
658 B
Cheetah
{{define "title"}}
|
|
Success - rushlink
|
|
{{end}}
|
|
|
|
{{define "body"}}
|
|
<pre>
|
|
https://{{.Request.Host}}/{{.Paste.Key}}{{.FileExt}}
|
|
---
|
|
|
|
# View metadata
|
|
curl <a href="https://{{.Request.Host}}/{{.Paste.Key}}{{.FileExt}}/meta?deleteToken={{.Paste.DeleteToken | urlquery}}">https://{{.Request.Host}}/{{.Paste.Key}}{{.FileExt}}/meta?deleteToken={{.Paste.DeleteToken | urlquery}}</a>
|
|
|
|
# Delete this object
|
|
curl --request DELETE <a href="https://{{.Request.Host}}/{{.Paste.Key}}{{.FileExt}}?deleteToken={{.Paste.DeleteToken | urlquery}}">https://{{.Request.Host}}/{{.Paste.Key}}{{.FileExt}}?deleteToken={{.Paste.DeleteToken | urlquery}}</a>
|
|
</pre>
|
|
{{end}} |