i think so there should be two reason for this first if you have write the URL incorrect or is that your server is not running so you need to start it with node js or nodemon and I also think so you are giving wrong data in the API or your network is not working and if you have not unable cors