'How to get the API Gateway requested URL
I'm integrating an API gateway endpoint that proxies the requests to an EC2 hosted service using a VPC link.
The problem is when I try to map this parameter in the response payload :
"resource-path" : "$context.resourcePath"
It returns a non-proxied parameters like /{param1}/{param2}, and I'd like to return the original request URL like https://my-service.com/1232/123123/
is there any variable in the context to do this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
