diff options
Diffstat (limited to 'templates/help.tmpl')
-rw-r--r-- | templates/help.tmpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/help.tmpl b/templates/help.tmpl new file mode 100644 index 0000000..48d12bc --- /dev/null +++ b/templates/help.tmpl @@ -0,0 +1,10 @@ +#def title: help +#def header: help +#extends templates.base +#def content + <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 md5(uid+md5(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> +#end def |