Basic Node and Express - Get Query Parameter Input from the Client

Tell us what’s happening:
Describe your issue in detail here.

Your project link(s)

solution: boilerplate-express - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

Challenge: Basic Node and Express - Get Query Parameter Input from the Client

Link to the challenge:

What are you struggling with in this challenge please?
Note that the json response should be in the form ‘firstname lastname’, not ‘firstname, lastname’.

The coding no passed in test, I not know where it is error

1 Like
req.query.firstname
req.query.lastname

These do not exist as properties of the req.query object.
The query string for this challenge populates req.query with first and last.

2 Likes

thnk you very much, a little distraction of mine

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.