swapi icon indicating copy to clipboard operation
swapi copied to clipboard

No CORS Policy

Open bofia opened this issue 8 years ago • 1 comments

Endpoint doesn't have a Access-Control-Allow-Origin header, which prevents chrome from using this API

bofia avatar Nov 21 '17 01:11 bofia

Yes, I can fetch data from Google Developer Tools (console), but it doesn't work on localhost. I am using proxy https://cors-anywhere.herokuapp.com to fix that error. I hope it can help.

miayam avatar Jul 19 '18 04:07 miayam