AWS - API Gateway
Consider this response mapping template:
Given the backend response:
What will the client receive?
{
"status": "$input.path('$.statusCode')",
"message": "$input.path('$.body.message')"
}Given the backend response:
{"statusCode": 200, "body": {"message": "Success"}}What will the client receive?
