Skip to content

Commit

Permalink
add to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffdutton committed Apr 30, 2019
1 parent c6fe594 commit e719dd6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -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()
}
```

Expand Down

0 comments on commit e719dd6

Please sign in to comment.