Bug in HttpRequestFormPost (General questions)
Modifying form field values after they have been added does not work. See the code modified from your form post example to reproduce the bug:
[code]
wodHttp1.URL = http://www.weonlydo.com/HttpDLX/Demo/TestFormPost.asp
wodHttp1.Request.FormPost.Add Username , anything
wodHttp1.Request.FormPost.Add Password , not joe
' Let us try to change the username
wodHttp1.Request.FormPost( Username ).Value = something else
' Displays Username=something+else&Password=not+joe as expected
MsgBox wodHttp1.Request.FormPost.ToString
' BUG: This still posts Username=anything
wodHttp1.Post
[/code]
Complete thread:
- Bug in HttpRequestFormPost - Saurabh, 2005-11-23, 14:03
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-23, 20:40
- Re: Bug in HttpRequestFormPost - Saurabh, 2005-11-24, 11:09
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-24, 13:24
- Re: Bug in HttpRequestFormPost - Saurabh, 2005-11-24, 17:42
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-24, 23:29
- Re: Bug in HttpRequestFormPost - Saurabh, 2005-11-26, 06:30
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-24, 23:29
- Re: Bug in HttpRequestFormPost - Saurabh, 2005-11-24, 17:42
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-24, 13:24
- Re: Bug in HttpRequestFormPost - Saurabh, 2005-11-24, 11:09
- Re: Bug in HttpRequestFormPost - wodSupport, 2005-11-23, 20:40