setMethod

open fun setMethod(httpMethod: String)

Set the HTTP method of the request. Can be "GET" | "POST" | "HEAD".

Parameters

httpMethod

The HTTP method of the request. Can be "GET" | "POST" | "HEAD".