get

abstract fun get(url: String): HttpResponse

Sends a GET request to url and returns the response.

May throw exception on transport errors.

Return

the http response code and the response body as a string