HTTPMethod
public enum HTTPMethod : String, Encodable
An HTTP method used by GetContentsOfURL
.
-
Represents a GET request. Request bodies are not supported.
Declaration
Swift
case GET = "GET"
-
Represents a POST request.
Declaration
Swift
case POST = "POST"
-
Represents a PUT request.
Declaration
Swift
case PUT = "PUT"
-
Represents a PATCH request.
Declaration
Swift
case PATCH = "PATCH"
-
Represents a DELETE request.
Declaration
Swift
case DELETE = "DELETE"