Click here to Skip to main content
15,893,663 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question(Wininet)How To Send Post Data In Content-Type: multipart/form-data; boundary=---------------------------1f0727f42ab069 Pin
81569011221-Jan-13 13:17
81569011221-Jan-13 13: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
VB
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 Pin
pasztorpisti21-Jan-13 13:36
pasztorpisti21-Jan-13 13:36 

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

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