Tell us what’s happening:
I am positive that my solution is correct. I have actually used the app and can confirm that my application is doing what is asked in the exercise.
when I visit the ‘/json’ route, the response should (and it does) change based on my .env file, which is also correct (MESSAGE_STYLE=uppercase)
Everything in the application is working as expected, however, when I go to submit it I get the following error:
"The response of the endpoint
/json should change according to the environment variable
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36.
Challenge: Use the .env File
Link to the challenge: