runGetRequest

open fun runGetRequest(uri: URI, headers: Map<String, String>): HttpResponse

This is the same as {doGetRequest} but returns a {{HttpResponse} instead.

Return

a String containing the response body of the HTTP GET request

Parameters

uri

the request URI

Throws