NODEJS 413 request entity too large

Nodejs as a server, when transferring content or uploading files, the default size of the system is 100kb. At this time, we need to modify the system limit. We call the interface and corresponding method in app.js, and add the corresponding parameters, such as:

app.use(bodyParser.json({limit : “1000kb”}));

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325890284&siteId=291194637