code: public Response put(String path, Object payload) throws IOException, RESTException {
          return put(path, payload, null);
      }
docs: Performs PUT request.
  
  @param path    Request path.
  @param payload Entity, which will be used as request payload.
  @throws IOException   If error during HTTP connection or entity parsing occurs.
  @throws RESTException If HTTP response code is non OK.