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
Put method
Sends resource to remote server.
Type
NoneSyntax
- Basic
object.Put [Request]
The Put(object,Request) syntax has these parts:
The Put(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 send documents to an HTTP server. For this method to work correctly, the user must fill the Request Body property with the document that needs to be stored on the server. URL should hold the path where resource should be saved. For example, on non-secured servers the following lines would be considered as break-in:wodHttp1.Host = "some.server.com"
wodHttp1.Request.Body = " Hello!"
wodHttp1.Put "/"
Most servers do not allow the storing of documents. Usually additional headers with authorization content are needed for this method to complete successfully. Rather, use Post method for sending data to the server.