#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 sha1(uid+sha1(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".