send Request

private fun sendRequest(method: HttpMethod, endpoint: String = "", parameters: Map<String, Any> = emptyMap(), payload: JsonObject? = null)

Method to send a request

Parameters

method

of the request

endpoint

of the request

parameters

of the request

payload

of the request