Similar to this previous question (Reddit), I am unable to get the request body via the $input.body or the $input.json('$') template variable. Has anybody had any luck playing with MOCK integration and getting access to the request body?
Thanks a lot.
Related discussions:
API Gateway does not support mapping request payload into the response. In a template configured on the integration response, $inputrefers to the response payload from the integration.
Thank you. I was hoping that since it is a Mock integration, the request would be passed through as the response from integration as well. But i was wrong it seems like.