API - cors error while fetching data from API

0 votes
48 views
added Dec 30, 2021 in API by lcjr First Warrant Officer (9,190 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

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