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?