getMethod

open fun getMethod(): String

Get the request method type. The value will default to POST if post data is provided and GET otherwise.