3 ms·
I'd come across the same issues you are experiencing and had been looking for a solution to the $input.path() issue. Turns out to retrieve JSON you can use $in
by jamesxab 11y ago
I'd come across the same issues you are experiencing and had been looking for a solution to the $input.path() issue.
Turns out to retrieve JSON you can use $input.json().
Full details are on the AWS documentation page. Not sure if this has been newly added as I only found it today.
http://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html http://docs.aws.amazon.com/apigateway/latest/developerguide/...