Tell us what’s happening:
Describe your issue in detail here.
Your project link(s)
solution: https://replit.com/@rodriguendzana/boilerplate-express
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Challenge: Serve JSON on a Specific Route
Link to the challenge:
Hi @Rodrigue !
Welcome to the forum!
It looks like you were close with one of your answers that you commented out.
app.get("/", (req, res) => {
res.json({
message: "Hello json"
});
});
But your path is supposed to be /json
You wrote /
Once you uncomment that out and use the correct path then it should pass.
1 Like
Thank you @jwilkins.oboe it works.
system
Closed
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.