Problem with my solution - (Basic Node and Express - Get Route Parameter Input from the Client)

Can someone help me to know what I’m doing wrong? I searched for different ways to solve this problem and I think my solution is close (if not same) of some of the answers I found, yet is not accepting.

image

Hello!

Its just a simple typo in your code when you want to give back the “word” parameter from the request object.
Instead of req.param.word use req.params.word

1 Like