g4urav
September 1, 2022, 8:51am
1
Tell us what’s happening:
code is’nt working
app.get(“/json”, (req, res) => {
res.json({
message: “Hello json”
});
});
Your project link(s)
solution: boilerplate-npm - Node.js Repl - Replit
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Challenge: Basic Node and Express - Serve JSON on a Specific Route
Link to the challenge:
ILM
September 1, 2022, 9:07am
2
wrong boilerplate, start at the beginning of the section please, and use the correct boilerplate
ILM
September 1, 2022, 11:15am
5
awesome, did you solve it?
g4urav
September 1, 2022, 11:20am
6
No,
also, after this problem, none of the problems are proceeding with successful test though they are running properly on local machine , I think that’s a issue not in code but somewhere else.
system
Closed
March 3, 2023, 12:33am
8
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.