AWS - API Gateway
Given this request mapping template:
And the incoming JSON request:
What will be the transformed request sent to the backend?
{
"userId": "$input.path('$.user.id')",
"action": "$input.path('$.action')"
}And the incoming JSON request:
{"user": {"id": "123"}, "action": "login"}What will be the transformed request sent to the backend?
