Deos anyone know how to use POST method to submit a string to web
server.
I am tring to use wininet.dll write a string upload application. I
use "HttpOpenRequest" and "HttpSendRequest" method to send string.
But it does not work!!! Does anyone did this before?
You help is very important to me. Thank you very much.
Peter Zheng
Sent via Deja.com
http://www.deja.com/
You probably want to look at KB articel Q175474.
<pete...@my-deja.com> wrote in message news:9474nb$bah$1...@nnrp1.deja.com...
Thank you very much. Campare the sample code, I found I make a mistake
when I append "cookie" and "Content-type" into request header.
I get it works.
Thank you for your help.
By the way, when you send request, all windows belong to that
application are no responding. Can I avoid of that by using MSINET.OCX?
(Because ActiveX Control is not on processing.)
Thanks Again
Peter Zheng
In article <O6KpN1XgAHA.1280@tkmsftngp04>,
<pete...@my-deja.com> wrote in message news:947v4u$55t$1...@nnrp1.deja.com...
Thank for you reply. Actually, My program can post data to server now.
But now my problem is following.
In the form tag, there is a name attribute, which value is form1. I do
not know how to submit this parameter. Is it also in request header or
in message body?
thank you
Peter Zheng
In article <uYIv3NhgAHA.464@tkmsftngp04>,
<pete...@my-deja.com> wrote in message news:94hc59$ef4$1...@nnrp1.deja.com...