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