Code fails FCC tests while it works in the browser

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

Welcome, kabr.

See these posts:

What URL are you submitting?

You need to submit the full page. Click “Share”, then click “Live App” and copy the URL, use that URL for the submit.