It’s hard to say. But it does look like a network issue. Did you add the .catch and log out the error?
In any case, when I run your code on my system it works just fine. Maybe also try Postman and hit the endpoint just to see what you get.
It’s hard to say. But it does look like a network issue. Did you add the .catch and log out the error?
In any case, when I run your code on my system it works just fine. Maybe also try Postman and hit the endpoint just to see what you get.