Click here to Skip to main content

C / C++ / MFC

 
Question(Wininet)How To Send Post Data In Content-Type: multipart/form-data; boundary=---------------------------1f0727f42ab069 Pinmember81569011221-Jan-13 14:17 
I want send a form to web server,but server receive http status 405.Capture http picket like this:
 
Content-Type: multipart/form-data; boundary=---------------------------1f0727f42ab069
Content-Length: 3182
Connection: Keep-Alive
Pragma: no-cache
Cookie: ...
 
-----------------------------7dd2f42cb9030e
Content-Disposition: form-data; name="param1"
 
0
-----------------------------7dd2f42cb9030e
Content-Disposition: form-data; name="Title"
 
My Title 1500
-----------------------------7dd2f42cb9030e
Content-Disposition: form-data; name="pinzhong"
 
511355
-----------------------------7dd2f42cb9030e
Content-Disposition: form-data; name="Min1"
 
1500
-----------------------------7dd2f42cb9030e
Content-Disposition: form-data; name="xingbie"
 
1
 
Wait online.
AnswerRe: (Wininet)How To Send Post Data In Content-Type: multipart/form-data; boundary=---------------------------1f0727f42ab069 Pinmemberpasztorpisti21-Jan-13 14:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150327.1 | Last Updated 30 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid