HttpMethod

HTTP defines a set of request methods to indicate the desired action to be performed for a given resource.

Entries

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The POST method sends data (stored in the request body) to a server to create or update a given resource.

Functions

Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun valueOf(name: String): HttpMethod
Returns the enum constant of this type with the specified name.
Link copied to clipboard
open fun values(): Array<HttpMethod>
Returns an array containing the constants of this enum type, in the order they're declared.