Quantcast
Viewing all articles
Browse latest Browse all 35

Answer by Nicollas Matheus for Error: request entity too large

For me the main trick is

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

app.use(bodyParser.urlencoded({
  limit: '20mb',
  parameterLimit: 100000,
  extended: true 
}));

bodyParse.json first bodyParse.urlencoded second


Viewing all articles
Browse latest Browse all 35

Trending Articles