code: public HttpResponse post(String path, HttpEntity data) throws APIException {
          final HttpPost request = new HttpPost(getUrl(path));
          request.setEntity(data);
          return this.execute(request);
      }
docs: POST requests