FormPostAdd & Request:Body (General questions)
FormPost.Add allows me to format data to be sent to the server for update. I was able to use it successfully. However if I tried to set my own string and set it directly into Request.Body, it does not work.
Example (using the help sample)
(A) Successful
wodHttp1.Request.FormPost.Add Username , joe
wodHttp1.Request.FormPost.Add Password , joe
wodHttp1.Post http://www.weonlydo.com/HttpDLX/Demo/TestFormPost.asp
(B) Failed
wodHttp1.Hostname = www.weonlydo.com
wodHttp1.Request.Body = Username=joe&Password=joe
wodHttp1.Post /HttpDLX/Demo/TestFormPost.asp
Why is it that setting data direct into Request.Body does not work? Or Request.Body is not meant to be used in this way?
Thanks for any answer.
Complete thread:
- FormPostAdd & Request:Body - Skc, 2007-09-22, 01:36
- Re: FormPostAdd & Request:Body - wodSupport, 2007-09-22, 01:56
- Re: FormPostAdd & Request:Body - Skc, 2007-09-24, 10:21
- Re: FormPostAdd & Request:Body - wodDamir, 2007-09-24, 10:41
- Re: FormPostAdd & Request:Body - Skc, 2007-09-24, 10:21
- Re: FormPostAdd & Request:Body - wodSupport, 2007-09-22, 01:56