2016-10-27 12:01:14 +02:00
..
2016-10-27 12:01:14 +02:00
2016-10-27 12:01:14 +02:00

Read this on the main serverless docs site

Serving HTML through API Gateway Example

These examples illustrate how to hookup an API Gateway endpoint to a Lambda function to render HTML on a GET request. So instead of returning the default json from requests to an endpoint, you can display custom HTML.

This is useful for dynamic webpages and landing pages for marketing activities.