google app engine - "Bad Content Type" using Curl with GAE Blobstore -


i'm using blobstore.create_upload_url('/upload') generate url post request send jpeg. app engine returns url correctly. given url i've been using curl post picture keep getting "bad content type. please use multipart" returned.

does have ideas how deal this? searched bit , didn't find whole lot.

curl command: curl -x post -d @download.jpg --header "content-type:multipart/form-data" link_from_gae

edit: tried curl --form "fileupload=@download.jpg" --header "content-type:multipart/form-data" link_from_gae without luck.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -