code: protected RestResponse request(final String path, final String method, Map<String, Object> paramList)
              throws IOException, AppPlatformException {
          if (paramList == null) {
              paramList = Collections.emptyMap();
          }
  
          final HttpUriRequest request = setupRequest(path, method, paramList);
          return performRequest(request);
      }
docs: Helper method to build the request to the server.
  @param path the path
  @param method the method
  @param paramList the parameter list.
  @return the response.
  @throws IOException unexpected exception.
  @throws AppPlatformException unexpected exception.