Table of Contents

Enum HttpMethod

[Flags]
public enum HttpMethod
Extension Methods

Fields

DELETE = 8

The DELETE method deletes the specified resource.

GET = 2

The GET method requests a representation of the specified resource. Requests using GET should only retrieve data.

HEAD = 32

The HEAD method asks for a response identical to that of a GET request, but without the response body.

PATCH = 16

The PATCH method is used to apply partial modifications to a resource.

POST = 1

The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.

PUT = 4

The PUT method replaces all current representations of the target resource with the request payload.

Unset = 0

This should not be used.