Tell us what’s happening:
Describe your issue in detail here.
how do i point the browser as requested here to view the message? i cant see the json message
" Serve the object {"message": "Hello json"}
as a response, in JSON format, to GET requests to the /json
route. Then point your browser to your-app-url/json
, you should see the message on the screen."
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Challenge: Basic Node and Express - Serve JSON on a Specific Route
Link to the challenge: