Tell us what’s happening:
No matter what i do, i can’t seem to pass the test.
I literally just copied the solution from the hint and it’s still not working.
Tried different browsers and computers.
I always get
// running tests
Test 1 : Your echo server should repeat words correctly
Test 2 : Your echo server should repeat words correctly
// tests completed
Your code so far
app.get("/:word/echo", (req, res) => {
const word = req.params.word;
res.json({
echo: word
});
});
I tried removing the Object Destructuring from the original solution.
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36.
Challenge: Get Route Parameter Input from the Client
I also had to comment out the code from the previous challenges. The code was working but it was very slow and the test was timing out. It could just have been an issue with repl.it, though.