Tell us what’s happening:
Glitch exercise works fine. But the exercise page won’t validate the answer.
Your code so far
app.get("/json", function(req, res) {
res.json({
‘“message”’: ‘Hello json’
});
});
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36
.
https://snowy-power-constellation.glitch.me/json
Challenge: Serve JSON on a Specific Route
Link to the challenge: