Keep it simple :
if you used post
so you will need the body
of the request, so you
will need body-parser
.
No need to install body-parser with express
, but you have to use
it if you will
receive post request.
app.use(bodyParser.urlencoded({ extended: false }));
{ extended: false }
false meaning, you do not have nested data inside your body object.
Note that: the request data embedded within the request as a body Object
.