Basic Node and Express - Get Data from POST Requests

Tell us what’s happening:
I couldn’t pass this exercise. The error says test time out. Can anyone help me out? Thanks

MyApp.js

const express = require('express');
const bodyParser = require('body-parser');
const app = express();


app.post("/name", function(req, res) {
  // Handle the data in the request
  var string = req.body.first + " " + req.body.last;
  res.json({ name: string });
});





/** 12) Get data form POST  */



// This would be part of the basic setup of an Express app
// but to allow FCC to run tests, the server is already active
/** app.listen(process.env.PORT || 3000 ); */

//---------- DO NOT EDIT BELOW THIS LINE --------------------

 module.exports = app;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0.

Challenge: undefined

Link to the challenge:
https://www.freecodecamp.org/learn/apis-and-microservices/basic-node-and-express/get-data-from-post-requests

This is probably an issue with your Internet connection or unavailability of some resources. Please try again and tell us.

Did you complete step 11 already?

var express = require('express');
var app = express();
let bodyParser = require('body-parser');

// --> 7)  Mount the Logger middleware here
...REMOVED...
  
// --> 11)  Mount the body-parser middleware  here
...REMOVED...

/** 1) Meet the node console. */
console.log("Hello World")

...REMOVED...

/** 10) Get input from client - Query parameters */

app.route('/name')
    .get((req,res)=>{ res.json({'name': req.query.first + ' ' + req.query.last })})
    .post((req,res)=>{res.json({'name': req.body.first + ' ' + req.body.last })})
  
/** 11) Get ready for POST Requests - the `body-parser` */
// place it before all the routes !


/** 12) Get data form POST  */
//above in 10

...