snip/querysheet.http

11 lines
179 B
Text
Raw Normal View History

:host = http://localhost:5000
# Create a new shortlink
POST :host/api/snip
-> jq-set-var :snip .snip
{
"url": "https://example.com"
}
# Unsnip shortlink
GET :host/api/:snip