functions/liaison/s-templates.json
{
"requestTemplate": {
"application/json": {
"contentType": "$input.params().header.get('Content-Type')",
"method": "$context.httpMethod",
"json" : "$input.json('$')",
"configName" : "$input.params().path.get('config')"
},
"application/x-www-form-urlencoded": {
"contentType": "$input.params().header.get('Content-Type')",
"method": "$context.httpMethod",
"body" : "$input.body",
"json" : "$input.json('$')",
"configName" : "$input.params().path.get('config')"
}
}
}