code: public void sendRequest(String path, RequestOptions options) throws IOException, JSONException {
          String rootUrl;
  
          if (path == null) {
              throw new IllegalArgumentException("'path' parameter can't be null.");
          }
  
          if (path.indexOf(BMSClient.HTTP_SCHEME) == 0 && path.contains(":")) {
              // request using full path, split the URL to root and path
              URL url = new URL(path);
              path = url.getPath();
              rootUrl = url.toString().replace(path, "");
          } else {
              String MCATenantId = MCAAuthorizationManager.getInstance().getTenantId();
              if(MCATenantId == null){
                  MCATenantId = BMSClient.getInstance().getBluemixAppGUID();
              }
              String bluemixRegionSuffix = MCAAuthorizationManager.getInstance().getBluemixRegionSuffix();
              if(bluemixRegionSuffix == null){
                  bluemixRegionSuffix = BMSClient.getInstance().getBluemixRegionSuffix();
              }
              // "path" is a relative
  			String serverHost = BMSClient.getInstance().getDefaultProtocol()
  							+ "://"
  							+ AUTH_SERVER_NAME
  							+ bluemixRegionSuffix;
  
  			if (overrideServerHost!=null)
  				serverHost = overrideServerHost;
  
              rootUrl = serverHost
                      + "/"
                      + AUTH_SERVER_NAME
                      + "/"
                      + AUTH_PATH
                      + MCATenantId;
          }
  
          sendRequestInternal(rootUrl, path, options);
      }
docs: Assembles the request path from root and path to authorization endpoint and sends the request.
  
  @param path    Path to authorization endpoint
  @param options BaseRequest options
  @throws IOException
  @throws JSONException