From 4989a8e572ea666d3e392a503ee6831b8a9386f9 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 15 Feb 2011 23:04:18 +0100 Subject: Initial commit. --- templates/help.tmpl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 templates/help.tmpl (limited to 'templates/help.tmpl') 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 +

Usage: POST to $scheme://$host/u 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)).

+

cURL example: + curl -b 'uid=42; identifier=3858f62230ac3c915f300c664312c63f' -F 'file=@image.png' -F 'filename=image.png' http://myhost/u + Here user id is 42 and the password is "foobar".

+#end def -- cgit v1.2.3