payloadtoolargeerror request entity too large code example
Example 1: PayloadTooLargeError: request entity too large
app.use(bodyParser.json({
limit: '50mb'
}));
app.use(bodyParser.urlencoded({
limit: '50mb',
parameterLimit: 100000,
extended: true
}));
Example 2: request entity too large limit: 102400 feathers
app.use(bodyParser.json({ limit: '50mb' }))
app.use(bodyParser.urlencoded({ limit: '50mb', extended: true }))