doGetRequest

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

Performs an HTTP GET request using the given URI.

Return

a String containing the response body of the HTTP GET request

Parameters

uri

the request URI

Throws