AnsweredAssumed Answered

What is the best method to append query parameter to URL query?

Question asked by ygirouard_stm on Jul 17, 2018
Latest reply on Jul 18, 2018 by dasjo02

Using CA API Gateway 9.1, I need an elegant and efficient way to append a custom parameter (i.e. the ${requestid} variable) to the URL query before it is sent to the HTTP backend. I need to add debug data that will appear in the access logs of our backends so we can match API Gateway requests with the backend request.

 

So far the only way I found is this:

 

I then simply add the ${new_querystring} variable to the URL passed to the backend in the Route via HTTP assertion. It works fine, but I was hoping for something a bit more direct than that.

 

Is there a better way?

Outcomes