Answers for "request 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 "request too large"

Code answers related to "Javascript"

Browse Popular Code Answers by Language