I've node app which use express, in the app I need to send via post message zip file (e.g. from postman to the node server) ,currently I use body parser like following but I wonder if this is OK?
app.use(bodyParser.urlencoded({extended: false}));
app.use(bodyParser.json());
app.use(bodyParser.text({
type: 'application/text-enriched',
limit: '10mb'
}));
Btw this is working but I wonder if I use it right...