Service Node - Passing url query parameters as encoded

@nehamsheikh @yogaramya.mendu
We recommend using encodeURIcomponent to fully encode the URL if needed.

  1. Construct the API end point and query parameters dynamically in a script node.
  2. Encode the content fully in a context variable in that script node.
    var encodedURL = encodeURIComponent("https://abc.com/endpoint?q=[abc_def]);
    context.encodedURLToUseInServiceNode = encodedURL
  3. Use the context variable in the service node
    GET/POST {{context.encodedURLToUseInServiceNode}}
    configure the headers, auth profile and rest of the settings as needed.