I have an API in AWS API Gateway that forwards the requests to another HTTP endpoint. I know I can map the query string parameters in "Integration Request". But I want to forward the value of a parameter as part of the path to the other endpoint. For example, let's say a call to my API is:
https://40gwfw20bg.execute-api.eu-west-1.amazonaws.com/beta?id=1234
I want the gateway to call the other endpoint passing the value of id in the path:
http://external.api.com/1234
Is that possible?