Use body-parser to Parse POST

Hey. I’ve been stuck on this challenge for a while now ( Use body-parser to Parse POST Requests). I am not sure what I am doing wrong. Can anyone help?

My code so far

// --> 11) Mount the body-parser middleware here
app.use(bodyParser.urlencoded({ extended: false }));

/** 11) Get ready for POST Requests - the body-parser */
// place it before all the routes !"/name", function(req,res){
var firstName = req.body.first;
var lastName = req.body.last;
res.send({name: firstName + " " + lastName})

Here is the link to my project:

Challenge: Use body-parser to Parse POST Requests

Link to the challenge:

Try switching these two lines.

Thanks. I tried that but it did not work.