RESTDataConnector.createUri

Returns a URI to the specified endpoint in the API. The URI is a concatenation of the BaseUri and the endpoint

JavaScript example:

  // Construct a URL to the endpoint to call. 
  const restDataConnector = connectors.createRESTDataConnector("https://rest.example.com/api/");
  
  const uri = restDataConnector.createUri('endpoint');
  //
     https://rest.example.com/api/endpoint
  

returns java.lang.String

Parameters

java.lang.String  endpoint,