akabab / starwars-api

MIT License
54 stars 32 forks source link

fetch throwing CORS error #2

Open MAJIDNISAR opened 3 years ago

MAJIDNISAR commented 3 years ago

while doing a fetch for same using the tutorial you said... i did a fetch prior to character fetch using the generated random number image

harishnigam21 commented 2 years ago

Use this link to fetch data "https://akabab.github.io/starwars-api/api/id/1.json"

baobure commented 1 year ago

It is constantly getting blocked by CORS policy! How can i fix?