summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/help.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/help.tmpl b/templates/help.tmpl
index 95748f5..5dc096f 100644
--- a/templates/help.tmpl
+++ b/templates/help.tmpl
@@ -5,6 +5,7 @@
<p>Usage: POST to <a href="$scheme://$host/u">$scheme://$host/u</a> with filedata given to "file" and original filename to "filename".
Login is sent by cookies with user id in "uid" and an identifier which is sha1(uid+sha1(password)).</p>
<p>cURL example:
- <code>curl -b 'uid=42; identifier=3858f62230ac3c915f300c664312c63f' -F 'file=@image.png' -F 'filename=image.png' http://myhost/u</code>
- Here user id is 42 and the password is "foobar".</p>
+ <code>curl -b 'uid=42; identifier=360b411581c3d516c8d55c290f039b144cea79ad' -F 'file=@image.png' -F 'filename=image.png' http://myhost/u</code>
+ Here user id is 42 and the password is "foobar".
+ If you get HTTP 417 responses, try adding:<code>-H 'Expect:'</code></p>
#end def