I use Express.js ver 4.2 and want to parse a large post (150K - 1M) but receives the error message "request entity too large". It seems that the limit is 100 K. I don't now how to change the limit in Express 4. In Express 3.x I just did -
app.use(express.json({limit: '5mb'}));
app.use(express.urlencoded({limit: '5mb'}));
How can I change the limit in Express 4 ?
Thanks for any help.