Beta "Get Data from POST Requests" lesson in node.js tutorial

Hi, I’m a bit lost on the “Get Data from POST Requests” part of the Node.js tutorial from the beta.

Here it is I tried doing something like this

let ha = function(req, res) {
  let name = req.query.first + ' ' + req.query.last;
  res.json({'name': name});

like in part 10, but it didn’t work. Then I tried this'/name', (req, res) => {
  let name = req.body.first + ' ' + req.body.last;
  res.json({'name': name});

and that doesn’t work either. I’m not sure what to do here. Can someone help me??

Here is my code it works:"/name", (req, res) => {
let something = {name: ${req.body.first} ${req.body.last} };
});"/name", (req, res) => {
let something = {name: ${req.body.first}+" "+ ${req.body.last} };