mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00: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.