REQUEST_TYPES
A collection of supported HTTP request types. Note that instead of passing a properrequest type to the Connection .doSync method, there are dedicated methods that correspond to eachrequest type that you can call directly. For example, getSync or postSync.
See also:
Properties
Name | Type | Description | Read-only |
---|---|---|---|
static CONNECT | | Establishes a tunnel to the server identified by the target resource. | |
static DELETE | | Deletes the target resource. | |
static GET | | Requests data from the target resource. | |
static HEAD | | Same as GET, but the response only contains headers and no data. | |
static OPTIONS | | Describes the communication options for the target resource. | |
static PATCH | | Applies partial modifications to the target resource. | |
static POST | | Submits data to the target resource. | |
static PUT | | Replaces all current representations of the target resource. |