0
votes

I have an endpoint like this: http://endpoint/getResult?sid=1&sid=2&sid=3...

I want to create a REST API like this, route the request to the Endpoint: http://esb/getResult?sid=1,2,3

How can I achieve this using WSO2 ESB? Many thanks.

1

1 Answers

0
votes

try a Java script mediator and take sid into the new String

After you can use a function split with delimiter “,”