Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

API - cors error while fetching data from API

0 votes
7 views
added Dec 30, 2021 in API by lcjr Second Warrant Officer (6,570 points)

The cors error can be fix by disable the same origin policy from browser. For chrome, head on here for workaround.

Cors error in React or Express are covered here.

Why CORS erros occurs

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...