Open rushil-b-patel opened 1 month ago
The actual payload that user can submit to your app /api should be restricted to avoid unnecessary behaviour. We can limit the body payload using built-in body-parser.
app.use(express.json());
limit: '{x}'
The website won't slow or crash.
No response
Description
The actual payload that user can submit to your app /api should be restricted to avoid unnecessary behaviour. We can limit the body payload using built-in body-parser.
Current Behavior
app.use(express.json());
Proposed Enhancement
limit: '{x}'
Use Case
The website won't slow or crash.
Blockers
No response
Additional Information/ Attachments
No response