Hi,
I’m wondering what’s wrong with my code/fcc testing console as my code runs in the browser as it should but fails the FCC tests.
Will you please help shed some light on this as it’s happening on a number of other challenges in the same module.
Many thanks.
My code
app.get(’/json’, (req, res) => res.json({“message”: “Hello json”}));
My browser specs:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36.
Challenge:
Link to the challenge:
https://www.freecodecamp.org/learn/apis-and-microservices/basic-node-and-express/serve-json-on-a-specific-route