Get Query Parameter Input from the Client

Hello, you can find my code at the link: https://freecodecam-boilerplate-up3lf2c3nud.ws-eu115.gitpod.io/ as you can see there is nothing special


but even if it works by calling the api directly the tests fail

how i can go on??

app.route('/name')
  .get((req, res) => {
    // Extract first and last name from the query string
    const firstName = req.query.first;
    const lastName = req.query.last;

    // Respond with a JSON object
    res.json({
      name: `${firstName} ${lastName}`
    });
  });

Your code should be inside myApp.js not server.js


We can’t see your code. If you need more help, share a snapshot of your Gitpod workspace or post a GitHub repo.