I believe I have it figured out using multipart requests. There is one post
parameter per part. I understand that and it is working well. Now I have
many non multipart POST requests from internet explorerer. That is just a
simple message comtaining parm data pairs, i.e.
parm1=data1&parm2=data2&parm3=data3.. I believe it is substring after the
? character on a get request. The browser only sends these data pairs in
that mode. Suppose you want to send user data after the parm data. Is this
possible? If so, what delimits the last parm data pair from the start of
the user data? I am confused on this point. Any ideas?
Best Regards,
Paul J. Lay
"George Ter-Saakov" <no****@hotmail.com> wrote in message
news:OV*************@TK2MSFTNGP11.phx.gbl...
If you using POST method parameters are not attached to URL.
They only attached to URL when using GET
With WebClient you suppose to use method UploadData but i have never been
using it.
I have always been using HttpWebRequest for that type of jobs. This class
seems to be more flexible.
George.
"Paul J. Lay" <pj***@msn.com> wrote in message
news:u0**************@TK2MSFTNGP09.phx.gbl... I am sending and receiving multipart messages using the WebClient UploadData method Method=Post. Everything seems to work well except when the URL
contains parameters. For example:
http://www.someURL.com?parm1=data1&parm2=data2. I don't believe these
paramters are transmitted as part of the URL with the HTTP Post
interface. I was under the impression that the WebClient class automatically handled
these parameters for POST. The documentation doesn't cover this. Is
this correct? If not, how should the user handle them. Please advise.
Thanks for your help.
Best Regards,
Paul J. Lay