rushlink/assets/templates/html/newRedirectPasteSuccess.html.tmpl
2019-12-15 12:42:10 +05:30

16 lines
582 B
Cheetah

{{define "title"}}
Success - rushlink
{{end}}
{{define "body"}}
<pre>
https://{{.Request.Host}}/{{.Paste.Key}}
---
# View metadata
curl <a href="https://{{.Request.Host}}/{{.Paste.Key}}/meta?deleteToken={{.Paste.DeleteToken | urlquery}}">https://{{.Request.Host}}/{{.Paste.Key}}/meta?deleteToken={{.Paste.DeleteToken | urlquery}}</a>
# Delete this object
curl --request DELETE <a href="https://{{.Request.Host}}/{{.Paste.Key}}?deleteToken={{.Paste.DeleteToken | urlquery}}">https://{{.Request.Host}}/{{.Paste.Key}}?deleteToken={{.Paste.DeleteToken | urlquery}}</a>
</pre>
{{end}}