Basic Node and Express - Serve JSON on a Specific Route

okay i did exactly what they wanted and it was still returning a test failed …something about The endpoint

/json

should serve the json object

{"message": "Hello json"}

and i dont really know what they want me to do but i did this …

Your project link(s)

solution: http://localhost:3000/json

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.101 Safari/537.36

Challenge: Basic Node and Express - Serve JSON on a Specific Route

Link to the challenge:

You are giving a link to your local server. We can’t see that - that is only local on your computer. Do you have a live server on the internet? That’s why you’ll have to have to submit the solution.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.