http - Uploading file gets Bad Request from the server -
i trying send file using http c++ application (no html-boxes). server keeps answering code 400/ bad request. keep simple, have changed manually content of file simple string (later on, need upload real binary files).
the post request following:
post /post.php http/1.0 host: posttestserver.com accept: */* content-type: multipart/form-data; boundary=boundary --boundary content-disposition: form-data; name="userfile"; filename="example.txt" content-type:text/plain 123abc --boundary-- connection: close
any idea going on?
Comments
Post a Comment