You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
rushil-b-patel
changed the title
[ENHANCEMENT] Limit the payload that user can submit to the application
[ENHANCEMENT] Limit the payload that user can submit to the web-application
May 25, 2024
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
The text was updated successfully, but these errors were encountered: