I activated context variables for my API on so I get $tyk_context.request_data filled correctly, but how to access the single value for param2 when request_data is “param1:value1;param2:value2”
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.