From AWS Lambda in Action
By Danilo Poccia
From AWS Lambda in Action by Danilo Poccia
When configuring the Amazon API Gateway to use Lambda functions, you can choose to have no authentication and leave the API publicly available. Using this option together with the HTTP GET method allows your API to be called by a web browser. You need to return the expected content type for HTML (text/html) to implement a public website.