I have tried to make a post request, to my node server, with a base64 encoded file.
I get a PayloadTooLargeError: request entity too large exception, so i went to extend the payload limit, by Express 4 convention
app.use(bodyParser.json({limit: '100mb'}));
app.use(bodyParser.urlencoded({limit: '100mb', extended: true}));
however the problem still occurs, can anybody help me on why?
here are my global variables
app.use(bodyParser.json())
app.use(bodyParser.urlencoded({ extended: false}))
app.use(bodyParser.json({limit: '100mb'}));
app.use(bodyParser.urlencoded({limit: '100mb', extended: true}));