Answers for "how to parse header in node.js lambda"

0

how to parse header in node.js lambda

{
    "method": "$context.httpMethod",
    "body" : $input.json('$'),
    "headers": {
        #foreach($param in $input.params().header.keySet())
        "$param": "$util.escapeJavaScript($input.params().header.get($param))"
        #if($foreach.hasNext),#end
        #end
    }
}
Posted by: Guest on May-06-2020

Code answers related to "how to parse header in node.js lambda"

Code answers related to "Javascript"

Browse Popular Code Answers by Language