Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading files with multipart/form-data fails #42

Closed
tseppl opened this issue May 31, 2018 · 0 comments
Closed

Uploading files with multipart/form-data fails #42

tseppl opened this issue May 31, 2018 · 0 comments

Comments

@tseppl
Copy link

tseppl commented May 31, 2018

When sending a POST request with Postman using multipart/form-data and attaching a file to the request it results in InvalidCharacterError originating from base-64 which is a dependency of netlify-lambda used to decode event.body when creating handler.

Works in prod environment.

@swyxio swyxio closed this as completed in 8c2df78 Oct 11, 2018
swyxio added a commit that referenced this issue Oct 11, 2018
Add multipart/form-data content-type to base64 exclusion list. Closes #42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant