Skip to content

Commit

Permalink
AWS Lambda Binary Media Types
Browse files Browse the repository at this point in the history
  • Loading branch information
pheldu95 committed May 4, 2021
1 parent 59b3dae commit 6c5db36
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions demos/function/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ The `LambdaProxy` example reads files from form data and converts to CSV.
When deploying on AWS, be sure to `npm install` locally and include the modules
in the ZIP file.

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

#### Azure Functions

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

0 comments on commit 6c5db36

Please sign in to comment.