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
Custom method
Defines your own HTTP method.
Type
NoneSyntax
- Basic
object.Custom Method, [Request]
The Custom(object,Method,Request) syntax has these parts:
The Custom(object,Method,Request) syntax has these parts:
object | An expression evaluating to an object of type wodHttpDLX. |
Method | Required. A String value. Holds request method text. |
Request | Optional. A Variant value. Holds ful URL to resource on the server. |
Remarks
Supported HTTP 1.1 methods are GET, HEAD, POST, PUT, DELETE, TRACE. However, the server might support additional methods. With the Custom method, the user is able to send a custom pre-defined request to the server. For example, (code in VB):Http1.Custom "GET"
sends a request line like this:
GET / ....
This example is the same as issuing the wodHttp1.GET method. Note: Some new servers support HTTP methods such as LINK, UNLINK, PATCH, etc. Use the Custom method to implement these new HTTP methods.