getJson

inline fun <T : Any> getJson(path: String, params: Map<String, String> = mapOf()): T

Send a GET request to the path on the API specified.