summaryrefslogtreecommitdiff
path: root/templates/help.tmpl
blob: 95748f5f2d0a6ba7f816361652bc496877564c18 (plain)
1
2
3
4
5
6
7
8
9
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 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>
#end def