CodeGenieApp / CodeGenieApp/serverless-express

Failing works with files

Open
#672 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.3k
Forks
676
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm using this library and I got stuck.
I have an API that receives payloads with images.
so I sent the image using Postman when running the express locally work fine and the image was not corrupted.
but when I'm using the AWS cloud, sending the same request from the postman the PNG images flips bytes, and this corrupts the image when I'm saving it into the s3 bucket.
I did everything that needed to be configured in the AWS platform i think it happened because of this lib.
the png buffer data start with: ```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.