Basic Node and Express - Serve JSON on a Specific Route

Tell us what’s happening:

After running the tests i am getting this error like ’ // running tests

  1. The endpoint /json should serve the JSON object {“message”: “Hello json”}
    // tests completed
    // console output
    [Error: Not Found]’
    I am able to see the json object message for the route /json

###Your project link(s)

solution: http://localhost:3001/json

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Challenge Information:

Basic Node and Express - Serve JSON on a Specific Route

When you paste in the link, you should not have the /json endpoint in the link