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
Post method
Posts information on remote server.
Type
NoneSyntax
- Basic
object.Post [Request]
The Post(object,Request) syntax has these parts:
The Post(object,Request) syntax has these parts:
object | An expression evaluating to an object of type wodHttpDLX. |
Request | Optional. A Variant value. Holds ful URL to resource on the server. |
Remarks
This method is used to post information to the server. Generally, the Post method is used for questionnaires, forms, etc.; Any kind of information can be sent using this method (like Name, Password, Queries, Credit-Card numbers etc. ) . The following sample would send your e-mail address to a remote server (code in VB):wodHttp1.Hostname = "www.somehost.com"
wodHttp1.Request.Body = "My email is joe@email.com"
wodHttp1.Post "/email.cgi"
Please note that this method will not 'upload' any document and store it on a remote server. Rather, information will be sent and the remote server will process it and/or store it internally in some database. Remote URL (/email.cgi in above sample) must be prepared to accept posted data.
To help you posting information, please refer to HttpRequestFormPost object, and to HttpRequestFormUpload object.