request
open suspend fun request( method: HttpMethod, url: String, data: List<Pair<String, Any>> = emptyList(), headers: List<Pair<String, Any>> = emptyList()): HttpResponse(source)
Perform a request using the required headers.
Parameters
method
The HTTP method to use for the request.
url
The URL to request.
data
The form parameters to add.
headers
Additional headers to add.