request
abstract suspend fun request(method: HttpMethod, path: String, builder: HttpRequestBuilder.() -> Unit = {}): HttpResponse
Makes an HTTP request to the specified path with the given method and request builder. It also applies token management if the relevant use cases are provided.
Return
The HTTP response.
Parameters
method
The HTTP method to use (e.g., GET, POST).
path
The API endpoint path.
builder
A lambda to configure the HTTP request.