Sending file data via HTTP post

What did I do wrong here? The upload itself seems to work, I can store the files on the local filesystem, but sending them fails.

http://cl.ly/34Sf

What did I do wrong here? The upload itself seems to work, I can store the files on the local filesystem, but sending them fails.

In what way does it fail? Is the api expecting a multipart form post (which is usually what file uploads are) ?

Fred