Skip to content

Commit

Permalink
Update doc regarding watch events
Browse files Browse the repository at this point in the history
  • Loading branch information
gpotter2 committed Aug 19, 2023
1 parent e0f4c85 commit cbddb82
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,19 @@ curl --request POST \
{"message":"This is a response"}
```

You can also use the following format for your event, in order to avoid using the Amazon API Gateway format:
```
{
"event": {
"key1": "value1",
"key2": "value2",
"key3": "value3"
}
}
```

In this case, the event will be passed directly to the handler.

## About: Definitions

### Event data
Expand Down

0 comments on commit cbddb82

Please sign in to comment.