Basic Node and Express - Serve JSON on a Specific Route

Tell us what’s happening:
my code:
image
what I get:
image
the result:

Any solutions to that?

Your project link(s)

solution: https://replit.com/@panlam0405/boilerplate-expressjson

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:

are you submitting the live app url?

I did yes. For some reason the path needed a hash. I don’t understand it though…

1 Like

What is the exact url you are submitting for the challenge?

i get same error, that makes me cannot pass this exam

I had similiar problem with this, everyone have a solution for this?

it is shown on the pic I uploaded.

url to the app, not the API route - no json at the end