// Maybe you should use body parser (in NodeJS): const express =require('express'); const bodyParser = require('body-parser'); const app = express(); app.use(bodyParser.json()); app.use(bodyParser.urlencoded({extended: true}) );