September 2018
Intermediate to advanced
266 pages
7h 26m
English
We can now test that our Lambda is being called properly by selecting the POST method and clicking on TEST:

In this screen, we can set query strings, headers, and the request body. We don't need to send any query strings or headers, so we can scroll straight down to the request body section. As we should remember from the testing of the Lambda, all we need to pass through in the body is the text and a sessionID, so this is what we can put as the request body:
{ "text":"I want to buy a shirt", "sessionID": "abc123"}
When we hit Test, API Gateway will send our request through to our Lambda. Our Lambda will send it to our ...
Read now
Unlock full access