#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=360b411581c3d516c8d55c290f039b144cea79ad' -F 'file=@image.png' -F 'filename=image.png' http://myhost/u
Here user id is 42 and the password is "foobar".
If you get HTTP 417 responses, try adding:-H 'Expect:'