Enumerazioni
HTTPMethod
HTTP defines a set of request methods to indicate the desired action to be performed for a given resource. Read more <a href='https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods'>here</a>.
Non ancora tradotto
7 valori
| Nome | Valore | Descrizione |
|---|---|---|
HTTPMethod.GET |
0 |
The GET method requests a representation of the specified resource. Requests using GET should only retrieve data. |
HTTPMethod.POST |
1 |
The POST method submits an entity to the specified resource, often causing a change in state or side effects on the server. |
HTTPMethod.PUT |
2 |
The PUT method replaces all current representations of the target resource with the request payload. |
HTTPMethod.HEAD |
3 |
The HEAD method asks for a response identical to a GET request, but without the response body. |
HTTPMethod.DELETE |
4 |
The DELETE method deletes the specified resource. |
HTTPMethod.PATCH |
5 |
The PATCH method applies partial modifications to a resource. |
HTTPMethod.OPTIONS |
6 |
The OPTIONS method describes the communication options for the target resource. |