Answers for "413 Error: Request Entity Too Large"

4

413 Request Entity Too Large

#open terminal and type
sudo nano /etc/nginx/nginx.conf
#go to http block
http {
	...
    #add this line
    client_max_body_size 100M;
    ...
}
Posted by: Guest on August-02-2021
4

PayloadTooLargeError: request entity too large

app.use(bodyParser.json({
  limit: '50mb'
}));

app.use(bodyParser.urlencoded({
  limit: '50mb',
  parameterLimit: 100000,
  extended: true 
}));
Posted by: Guest on July-04-2020

Code answers related to "413 Error: Request Entity Too Large"

Code answers related to "Javascript"

Browse Popular Code Answers by Language