Posts by Kanonit • 1 point
1 post
-
0
votes0
answers47
viewsQ: I’m unable to use fetch API
I’m unable to use fetch API I don’t know what’s wrong with my code. fetch('http://localhost:5000') .then(res => res.json) .then(data => console.log(data)) In the http://localhost:5000 has that…