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
Post a Comment