execute

suspend fun execute(): URLResponse

Makes a network request and returns:

  • JSONObject or JSONArray for JSON requests

  • String if the content is text

  • ByteArray if the content is binary (e.g. image, .pbf)