While this test shows it passes in glitch, I get an error when I run it on FCC. error “running tests
You should test for ‘res.type’ to be ‘application/json’
You should test for ‘res.body.name’ to be ‘Giovanni’
You should test for ‘res.body.surname’ to be ‘da Verrazzano’
Is anyone else having this issue? Please help.
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36.
Hi @LudwigJedde. Your code looks like it should pass to me . Is it definitely failing the “You should test for ‘res.body.surname’ to be ‘da Verrazzano’” test? Or maybe one of the other ones? Are you able to provide a link to your Glitch project?