Solution link doesn't work

Tell us what’s happening:
Describe your issue in detail here.
the solution is correct but it doesnt work on the solution link /json

Your project link(s)

solution: boilerplate-express - Replit

Your browser information:

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

Challenge: Serve JSON on a Specific Route

Link to the challenge:

I have no idea what is going on. It is uppercasing the property for some reason.

  "Message": "Hello json"

When I fork your project and run it, it works just fine. :man_shrugging:

Try forking your own project and try it again. Or start over (new starter) and see what happens.

When I look at the request headers your project has the if-none-match request header. Which my fork do not.

This might mean you at some point did have it as uppercase and it is now being served as cached (same ETag). Just speculation, I’m not really that much of a server/backend expert.

But if that is the case, a fork or restart (as in a new starter) should fix it.

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