Stuck please help I can not reach the route /json

Tell us what’s happening:
Describe your issue in detail here.

Your project link(s)


Your browser information:

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

Challenge: Serve JSON on a Specific Route

Link to the challenge:

Hi @Rodrigue !

Welcome to the forum!

It looks like you were close with one of your answers that you commented out.

app.get("/", (req, res) => {
    message: "Hello json"

But your path is supposed to be /json
You wrote /

Once you uncomment that out and use the correct path then it should pass.

1 Like

Thank you @jwilkins.oboe it works.

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