code: public RestResponse get(final String uri, final Map<String, Object> params) throws Exception {
          final String path = getPath(uri);
          final RestResponse response = request(path, HttpGet.METHOD_NAME, params);
          if (response.isError()) {
              throw new IOException(response.getResponseText());
          }
          return response;
      }
docs: This method implements an HTTP GET. Use this method to retrieve a resource.
  
  @param uri the URI.
  @param params the parameters.
  @return the get response.
  @throws Exception unexpected exception.