AWS Lambda Binary Media Types

This commit is contained in:
Duncan Phelps 2021-05-03 22:03:42 -05:00
parent 59b3dae1a1
commit 6c5db3663c

@ -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