From e719dd630150af1105e23c919b024ec62b82f9d9 Mon Sep 17 00:00:00 2001 From: Geoff Dutton Date: Mon, 29 Apr 2019 20:59:48 -0500 Subject: [PATCH] add to readme --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9cec7e..abaf868 100644 --- a/README.md +++ b/README.md @@ -116,8 +116,11 @@ module.exports.lambdaHandler = function(event, context, callback) { // Check the type req.is('html') // false - // Get an AWS API Gateay requestContext property + // Get an AWS API Gateway requestContext property req.context('requestId') // '08e3e2d0-daca-11e6-8d84-394b4374a71a' + + // Get the unmodified Lambda Proxy event + req.getLambdaEvent() } ```