Skip to content

Commit 6e3fed9

Browse files
committed
update readme
1 parent 86cf1c3 commit 6e3fed9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

aws-node-serve-dynamic-html/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Serving Dynamic HTML via API Gateway Example
22

3-
These examples illustrate how to hookup an API Gateway endpoint to a Lambda function to render HTML on a `GET` request.
3+
This example illustrates how to hookup an API Gateway endpoint to a Lambda function to render HTML on a `GET` request.
44

5-
Instead of returning the default `json` from requests to an endpoint, you can display custom dynamic HTML by setting the `Content-Type` header.
5+
Instead of returning the default `json` from a request, you can display custom dynamic HTML by setting the `Content-Type` header to `text/html`.
66

77
```js
88
const response = {
@@ -18,5 +18,5 @@ callback(null, response);
1818

1919
## Use-cases
2020

21-
- landing pages for marketing activities
22-
- dynamic single use webpages
21+
- Landing pages for marketing activities
22+
- Single use dynamic webpages

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy