79109818

Date: 2024-10-21 11:30:23
Score: 1
Natty:
Report link

If you are using NGINX in your server.

update client_max_body_size in the configuration file

client_max_body_size 50M;

then restart your server.

app.use(express.json({ limit: '10mb' }));  // For JSON bodies
app.use(express.urlencoded({ limit: '10mb', extended: true }

this could also help.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Affaq Ahmed