Using context variables in URL rewrite

Hello @Corrensa,

If you know that the URL params are always be in this order ?name=“mynae”&id=“myid” you can do the following regex name="(\w+)"&id="(\w+)" the rewrite should then be http://api/operation?name=$1&id=$2

If the URL params are not going to always be in that order then you’ll need a more complex regex to handle it.

Zaid