code: private URI addEndPoint(String endPoint) throws URISyntaxException {
  
          if (StringUtils.isEmpty(endPoint) || endPoint.equals("/")) {
              return this.baseUri;
          }
  
          if (this.baseUri.getPath().endsWith("/") || endPoint.startsWith("/")) {
              endPoint = this.baseUri.getPath() + endPoint;
          } else {
              endPoint = this.baseUri.getPath() + "/" + endPoint;
          }
  
          URI uri = null;
  
          URIBuilder builder = new URIBuilder();
  
          builder.setScheme(this.baseUri.getScheme());
          builder.setHost(this.baseUri.getHost());
          builder.setPort(this.baseUri.getPort());
          builder.setPath(endPoint);
  
          uri = builder.build();
          return uri;
      }
docs: Add an endpoint.