Skip to content

Commit 6c5db36

Browse files
committed
AWS Lambda Binary Media Types
1 parent 59b3dae commit 6c5db36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

demos/function/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ The `LambdaProxy` example reads files from form data and converts to CSV.
114114
When deploying on AWS, be sure to `npm install` locally and include the modules
115115
in the ZIP file.
116116

117+
When reading form data, be sure to include the necessary binary types on the AWS API Gateway console.
118+
To do this, navigate to the "Binary Media Types" section in the settings tab of the console.
119+
For reading a file, you may need to add "multipart/form-data".
120+
For downloading a file, you may need to add "application/vnd.ms-excel".
121+
117122
#### Azure Functions
118123

119124
Azure supports many types of triggers. The `AzureHTTPTrigger` shows an example

0 commit comments

Comments
 (0)