HttpMethod
Http Request Types, also known as Http Verbs. These verbs define the type of action requested from a http server.
Elements
Element | Description |
---|---|
HttpMethod.CONNECT | The CONNECT method requests that the recipient establish a tunnel to the destination origin server identified by the request target and, if successful, thereafter restrict its behavior to blind forwarding of data, in both directions, until the tunnel is closed. |
HttpMethod.DELETE | The DELETE method requests that the origin server delete the resource identified by the Request-URI. |
HttpMethod.GET | The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI. |
HttpMethod.HEAD | The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. |
HttpMethod.OPTIONS | The OPTIONS method requests information about the communication options available for the target resource, at either the origin server or an intervening intermediary. |
HttpMethod.PATCH | The PATCH method applies partial modifications to a resource. |
HttpMethod.POST | The POST method is used to request that the origin server accept the entity enclosed in the request as a new subordinate of the resource identified by the Request-URI in the Request-Line. |
HttpMethod.PUT | The PUT method requests that the enclosed entity be stored under the supplied Request-URI. If the Request-URI refers to an already existing resource, the enclosed entity SHOULD be considered as a modified version of the one residing on the origin server. |
HttpMethod.TRACE | The TRACE method requests a remote, application-level loop-back of the request message. |