DEV Community

Discussion on: Reactjs fetch API request getting blocked by CORS policy

 
mfurkankaya profile image
Furkan KAYA

I'm happy it worked. :D

Thread Thread
 
saiavinashiitr profile image
Sai Avinash Duddupudi • Edited

hey, sometimes https://cors-anywhere.herokuapp.com is not working... is there any other similar one that I can use in place of this which is much more reliable?
Here is the Screenshot

Thread Thread
 
mfurkankaya profile image
Furkan KAYA

Man it's been long but i couldn't see your last comment. :D You can clone corsy-anywhere project to your local. Then you can proxy it like "localhost:8080/somedomain.com/api". Corsy anywhere github repo: github.com/Rob--W/cors-anywhere

Thread Thread
 
saiavinashiitr profile image
Sai Avinash Duddupudi

hey, no issues.... I have now contacted the backend team and they have whitelisted my domain. so all good for now!. Thanks Furkan for new insights:)