Method
Represents the HTTP methods that can be used in a network request.
GET for retrieving data
POST for sending data
PUT for updating data
DELETE for deleting data
PATCH for partially updating data
HEAD for retrieving the headers of a resource without the body
OPTIONS for requesting information about the communication options available
TRACE for tracing the path to the resource
CONNECT for establishing a tunnel to the server
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.