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

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

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