code: public static String[] sendRequest(String token, String site, OPERATION op, String path) throws Exception {
      HttpClient client = httpClient();
      HttpUriRequest message = null;
      if(op == OPERATION.DISABLE) {
        message = new HttpPut(site + ENDPOINT + path);
      } else if(op == OPERATION.ENABLE){
        message = new HttpDelete(site + ENDPOINT + path);
      } else {
        message = new HttpGet(site + ENDPOINT);
      }
      addAuthHeader(token, message);
      
      HttpResponse resp = client.execute(message);
      if(resp.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
        String results = EntityUtils.toString(resp.getEntity());
        return new Gson().fromJson(results, String[].class);
      }
      return null;
    }
docs: Sends acl request to cadmium.
  
  @param site
  @param op
  @param path
  @return
  @throws Exception