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: