public JSONObject getRequest ( String url , String apiKey , String accessToken ) throws IOException , KiteException , JSONException { Request request = createGetRequest ( url , apiKey , accessToken ) ; Response response = client . newCall ( request ) . execute ( ) ; String body = response . body ( ) . string ( ) ; return new KiteResponseHandler ( ) . handle ( response , body ) ; }
Makes a GET request .