Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Test Event for API Gateway

  • Before we fix the code, we can fix the test:
{
    "queryStringParameters" : {
        "name": "Foo Bar"
    }
}
  • Try this using the "Test" button.

Also, try it from the console using curl or in your browser (use your own URL).

  • curl 'https://qspmdah6oj.execute-api.us-east-1.amazonaws.com/v0/hello?name=Foo%20Bar'
{"message": "Hello Foo Bar!"}