I’m trying to complete this challenge but it seems like the tests are not working.
So the challenge ask me to return a json message written in all caps, which my app returns, but apparently not for the tests. I tried multiple solutions and still cant get it done. Anyone knows how to proceed?
It’s a ‘best practice’ to assume that your code is broken. Even my code that seems to work right I assume is broken in some way.
Here you are checking the value of the environment variable out in the global space. But that means it is impossible for your GET to respond to changes in this environment variable after the application starts. The test checks your app by changing this environment variable.
Is that exactly, precisely, character-for-character identical to the code in your original post?
Again, it’s hard for me to help you fix your code when you don’t show me your code. I can pass with my code, but that doesn’t help me help you fix your code.
Yes it is, i will post it again. By the way, if i test it myself on my browser by going to the link and adding ‘/json’ at the end of the link i get my solution correctly, with all the solutions ive tried it works, but not for FCC