Back to product page
- Introduction
- License agreement
- Getting Started
- Objects
- Enumerations
- wodHttpDLX
- Methods
- Properties
- Authentication
- AutoRedirect
- BindIP
- Blocking
- CertErrors
- Certificate
- Compression
- Hostname
- HTTPversion
- IgnoreCertErrors
- KeepAlive
- LastError
- LastErrorText
- LocalCertBag
- Login
- MyHostname
- MyIP
- Notification
- Password
- Port
- ProxyAuthentication
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- Request
- Response
- Secure
- Socket
- SSLCipherList
- State
- Timeout
- URL
- UseIPv6
- Version
- Events
- wodHttpNotify
- HttpCookie
- HttpCookies
- HttpHeader
- HttpHeaders
- HttpRequest
- HttpRequestFormPost
- HttpRequestFormUpload
- HttpResponse
- How to get support?
- Technical information
- Fast notifications interface
- Error list
HttpRequestFormPost Object
HttpRequestFormPost Class
Remarks
This object is used to change Body contents of current request, so that it adds your variables to post to the server. Typically, this will be used to duplicate browser's behavior to fill-up some forms, login to the server using webforms, entering search queries etc. To see this in live demo, please open /HttpDLX/Demo/TestFormPost.htm. Then, look at the below code - we will just do the same thing with wodHttpDLX. Please note that wodHttpDLX will also add necessary 'Content-type' header automatically.wodHttp1.Request.FormPost.Add "Username", "joe"
wodHttp1.Request.FormPost.Add "Password", "joe"
wodHttp1.Post "/HttpDLX/Demo/TestFormPost.asp"
-
POST /HttpDLX/Demo/TestFormPost.asp HTTP/1.0
Host: www.weonlydo.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 25
Username=joe&Password=joe