# REQUEST_TYPES

A collection of supported HTTP request types. Note that instead of passing a proper request type to the [Connection.doSync()](v1-Connection.html#doSync) method, there are dedicated methods that correspond to each request type that you can call directly. For example, `getSync()` or `postSync()`.

See Also

* [HTTP request methods on MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods)

## 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 `GET`, but the response only contains headers and no data.   |
| 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.   |

## See also

[Connection](v1-Connection.html)

