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

Trying to use this in AWS Lambda but looks like it requires request object #986

Open
micronaut opened this issue Feb 13, 2025 · 1 comment

Comments

@micronaut
Copy link

micronaut commented Feb 13, 2025

Hi. I was trying to use this in an AWS Lambda that is behind an API Gateway. I am seeing an error because it looks like formidable is trying to read the content-length header from the request object. Is it possible to make this work without having the raw request but just the body of the API event? Thanks!

Is there a way to pass a Readable stream made from the string to the parse function? I've tried but getting an error Error while parsing the form: Error [ERR_METHOD_NOT_IMPLEMENTED]: The _transform() method is not implemented

@GrosSacASac
Copy link
Contributor

Import Multipart.js and use initWithBoundary

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

2 participants