Skip to content

Commit 0335246

Browse files
committed
add some details to doc
1 parent 1d90903 commit 0335246

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: index.js

+9-1
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,27 @@ $ echo "make Cloudflare great again" | curl -F "c=@-" ${BASE_URL}
2121
2222
<p>Fetch the paste</p>
2323
<pre><code>
24-
$ curl https://shz.al/qotL
24+
$ curl ${BASE_URL}qotL
2525
make Cloudflare great again
2626
</code></pre>
2727
2828
<p>Delete the paste</p>
2929
<pre><code>
3030
$ curl -X DELETE ${BASE_URL}qotL_yNm3PTBA3+X1jjhdClJ6zyVMkfA=
3131
the paste will be deleted in seconds
32+
33+
$ curl ${BASE_URL}qotL
34+
not found%
3235
</code></pre>
3336
3437
<p>Update the paste</p>
3538
<pre><code>
3639
$ echo "make Cloudflare great again and again" | curl -F "c=@-" ${BASE_URL}qotL_yNm3PTBA3+X1jjhdClJ6zyVMkfA=
40+
{
41+
"url": "${BASE_URL}qotL",
42+
"admin": "${BASE_URL}qotL_yNm3PTBA3+X1jjhdClJ6zyVMkfA=",
43+
"isPrivate": false
44+
}%
3745
</code></pre>
3846
3947
<h2>Advanced Usage</h2>

0 commit comments

Comments
 (0)