summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toastin.space>2019-02-27 01:14:58 -0500
committerChloe Kudryavtsev <toast@toastin.space>2019-02-27 01:14:58 -0500
commit5a7c705ffe9cce33883ac77ef77c59ede3cede66 (patch)
treed44d55619e38d4af97b3f9b11ea7c1f10a5cf9d3
parentCleanup (diff)
Fix example usage
-rw-r--r--views/index.dt4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/index.dt b/views/index.dt
index 24136ff..e40ab15 100644
--- a/views/index.dt
+++ b/views/index.dt
@@ -22,8 +22,8 @@ block content
td Get the raw contents of paste with ID "id"
h2 Examples
pre: code(class='language-sh')
- | curl -X POST -F 'sprunge=<-' https://brpaste.example.com
- | http -f POST https://brpaste.example.com data=@file.txt
+ | curl -F 'data=<-' https://brpaste.example.com
+ | http -f https://brpaste.example.com data=@file.txt
| curl https://brpaste.example.com/raw/some_id
| xdg-open https://brpaste.example.com/some_id?cpp
h2 Paste from a browser