summaryrefslogtreecommitdiff
path: root/templates/help.tmpl
blob: 48d12bce62c9666b73212517120f9518a96256ea (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 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