AWS - API Gateway
You want to create a request mapping template that extracts
Which mapping template correctly extracts
userId and roles from a nested JSON request:{
"user": {
"id": "u123",
"details": {
"roles": ["admin", "editor"]
}
}
}Which mapping template correctly extracts
userId as a string and roles as a JSON array?