code: private static JSONObject doGetRequest(HttpGet httpGet) throws JSONException {
          JSONObject json = null;
          HttpClient httpClient = HttpClientBuilder.create().build();
          HttpResponse response;
          
          try {
          	response = httpClient.execute(httpGet);
              
              if(response.getStatusLine().getStatusCode() == 200) {
                  HttpEntity entity = response.getEntity();
                  if (entity != null) {
                      InputStream instream = entity.getContent();
                      String result = convertStreamToString(instream);
                      instream.close();
                      
                      json = new JSONObject(result);
                  }
              } else {
              	json = UpworkRestClient.genError(response);
              }
          } catch (ClientProtocolException e) {
              json = UpworkRestClient.genError(HTTP_RESPONSE_503, "Exception: ClientProtocolException");
          } catch (IOException e) {
              json = UpworkRestClient.genError(HTTP_RESPONSE_503, "Exception: IOException");
          } catch (JSONException e) {
              json = UpworkRestClient.genError(HTTP_RESPONSE_503, "Exception: JSONException");  
          } catch (Exception e) {
              json = UpworkRestClient.genError(HTTP_RESPONSE_503, "Exception: Exception " + e.toString());
          } finally {
              httpGet.abort();
          }
          
          return json;
      }
docs: Execute GET request
  
  @param   url Request object for GET
  @param   method HTTP method
  @param   params POST parameters
  @throws  JSONException
  @return  {@link JSONObject}