1app.use(bodyParser.json({
2 limit: '50mb'
3}));
4
5app.use(bodyParser.urlencoded({
6 limit: '50mb',
7 parameterLimit: 100000,
8 extended: true
9}));
10
1app.use(express.json({limit: '50mb'}));
2app.use(express.urlencoded({limit: '50mb'}));
1axios({
2 url: url,
3 method: "POST", <- PUT, DELETE, UPDATE, PATCH
4 data: fromData, <- the form data the include the large file
5 maxContentLength: "infinity", <- for large content, base64
6 maxBodyLength: "infinity", <- do the same above
7})