code: protected HttpUriRequest buildMethod(final String method, final String path, final String params) {
          if (StringUtils.equalsIgnoreCase(method, HttpPost.METHOD_NAME)) {
              return generatePostRequest(path, params);
          } else {
              throw new RuntimeException(String.format("Method %s not supported.", method));
          }
      }
docs: Helper method that builds the request to the server.
  Only POST is supported currently since we have cases in the API
  like token creation that accepts empty string payload "", instead of {}
  
  @param method the method.
  @param path the path.
  @param params json string.
  @return the request.