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

API Gateway

  • “Add triggers” - select API Gateway

  • Configure Required

  • Create a new API

  • API name: demo

  • Deployment stage: v0

  • Security: Open

  • Once we “save” it, we’ll be able to see the “Invoke URL”

  • https://s94rb025f9.execute-api.us-east-1.amazonaws.com/v0/hello

  • curl …

ERROR 502 Bad Gateway

or

{"message": "Internal server error"}