I have requirement to upload images to s3 bucket from lambda function using serverless framework in node js.
I want to get image file from react app. So, How can I get image file from react app to lambda ao that I can upload it to s3 bucket using lambda.
I have user lambda-multipart-parser to upload. It is working in local environment but not working after deployed to aws. lambda-multipart-parser is able to parae request in local but unable to parse request after deployed to aws.lambda-multipart-parser is able to parse complete image in buffer array but afrer deployed, it is unable to parse complete image to image. There are missing buffer data after deployed.
Suggest me any good solution.