Enum HttpMethod
- Namespace
- Glitch9.IO.Networking.RESTApi
[Flags]
public enum HttpMethod
- Extension Methods
Fields
DELETE = 8The DELETE method deletes the specified resource.
GET = 2The GET method requests a representation of the specified resource. Requests using GET should only retrieve data.
HEAD = 32The HEAD method asks for a response identical to that of a GET request, but without the response body.
PATCH = 16The PATCH method is used to apply partial modifications to a resource.
POST = 1The 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 = 4The PUT method replaces all current representations of the target resource with the request payload.
Unset = 0This should not be used.