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”}));