Skip to content

qie.getWsOperationUrl

Signature: qie.getWsOperationUrl(connection, apiEndpoint)

Returns: String wsOperationUrl - the endpoint URL joined to the apiEndpoint with a single '/'

Join the web service connection endpoint URL with an operation apiEndpoint path (single slash, port preserved).

Parameters

Type Name Description Default
String connection the name of the web service connection
String apiEndpoint the operation's relative path (e.g. v1/responses)

Example

// Join a web service connection's endpoint with an operation path
var url = qie.getWsOperationUrl("openAi", "v1/responses"); // https://api.openai.com/v1/responses