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

Tell us what’s happening:

I am supposed to build an echo server, mounted at the route GET /:word/echo. Respond with a JSON object, taking the structure {echo: word}. You can find the word to be repeated at req.params.word.

###Your project link(s)

solution: https://3000-freecodecam-boilerplate-6r61rzyq2k4.ws-eu114.gitpod.io

Your browser information:

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

Challenge Information:

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

I get a 404, did you write the route correctly?

Post your code, we can’t see it.


You can also post a GitHub repo or share a snapshot of your Gitpod workspace.