Friday, 28 April 2017

AWS Lambda: extract id from path

I have a resource in API Gateway /{id}/contacts, which calls my lambda method contacts.

In the lambda, how do I access the {id} from the path, or pass it in the event body in the api gateway?

exports.handler = (event, context, callback) => {...}



via LLL

No comments:

Post a Comment