Skip to content

Commit 4f8f92f

Browse files
meynardmeynard
authored andcommitted
Updated readme usage section
1 parent c5c7af6 commit 4f8f92f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ const result = await parser.parse(event);
3434
console.log(result.files);
3535
```
3636

37-
Sample Lambda implemetation with Cloudformation can be found in http://francismeynard.github.io/aws-upload-document-service.
37+
**Important**
38+
Please make sure to enable the "Use Lambda Proxy integration" in API Gateway method Integration request.
39+
40+
If decided not to enable it for some reason, make sure to pass the required Lambda event parameters in Integration Request -> Mapping Templates section, such as body, headers and isBase64Encoded flag.
41+
42+
Sample Lambda and API Gateway implementation with Cloudformation can be found in [here](http://francismeynard.github.io/aws-upload-document-service).
3843

3944
## Test
4045
```

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "lambda-multipart-parser",
3-
"version": "0.0.1",
4-
"description": "This module will parse the multipart-form containing files and fields from the lambda event object",
3+
"version": "0.0.2",
4+
"description": "This module will parse the multipart-form containing files and fields from the lambda event object.",
55
"main": "index.js",
66
"author": "francismeynard",
77
"license": "MIT",

0 commit comments

Comments
 (0)