get

fun URI.get(): String

Sends a GET request to the given URI and returns the response as a String.

Return

The response body as String.