We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, When I try to do a POST with base64 image I got this error:
Request Method: POST Status Code: 413 Payload Too Large Remote Address: 127.0.0.1:8080 Referrer Policy: no-referrer-when-downgrade
PayloadTooLargeError: request entity too large
Please, can you tell me how to increase the payload's limit?
Thank you
Andrea
The text was updated successfully, but these errors were encountered:
Hello Andrea,
replace of app.use(bodyParser.json());
app.use(bodyParser.json());
with app.use(bodyParser.json({ limit: '50mb' }))
app.use(bodyParser.json({ limit: '50mb' }))
In the AppController should solve the problem. Could you please test it with your configuration?
https://github.com/smollweide/node-mock-server/blob/master/lib/controller/AppController.js#L97
Greetings and thank you
Sorry, something went wrong.
fix: adjust bodyParser limit to 50mb #133
2081245
Hi @andreacampaci, done with release 0.25.2
No branches or pull requests
Hi,
When I try to do a POST with base64 image I got this error:
Please, can you tell me how to increase the payload's limit?
Thank you
Andrea
The text was updated successfully, but these errors were encountered: