Skip to main content

HttpMethod

Http Request Types, also known as Http Verbs. These verbs define the type of action requested from a http server.

Elements

ElementDescription
HttpMethod.CONNECTThe 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.DELETEThe DELETE method requests that the origin server delete the resource identified by the Request-URI.
HttpMethod.GETThe GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
HttpMethod.HEADThe HEAD method is identical to GET except that the server MUST NOT return a message-body in the response.
HttpMethod.OPTIONSThe OPTIONS method requests information about the communication options available for the target resource, at either the origin server or an intervening intermediary.
HttpMethod.PATCHThe PATCH method applies partial modifications to a resource.
HttpMethod.POSTThe 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.PUTThe 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.TRACEThe TRACE method requests a remote, application-level loop-back of the request message.