code: protected RestResponse requestJson(final String path, final String method, final String param)
              throws IOException, AppPlatformException {
          final HttpUriRequest request = setupRequestJson(path, method, param);
          return performRequest(request);
      }
docs: Helper method to build the request to the server.
  @param path the path
  @param method the method
  @param param payload json string
  @return the response.
  @throws IOException unexpected exception.
  @throws AppPlatformException unexpected exception.