wodHttpDLX ActiveX Control - Post Method
      
 

Description

Posts information on remote server.


Return Type

None  


Syntax

object.Post [Request]



The Post Method syntax has these parts:

Part Description
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.