How to open a json file with fetch without getting a Cors error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to open a json file with fetch without getting a Cors error

I have a file example.html, it contains a code to read a json file using fetch but it gives me cors error, i need to fix this but without the need of a server.

26th Nov 2022, 8:04 PM
NinjaGamer
NinjaGamer - avatar
1 Answer
27th Nov 2022, 5:11 AM
Calviղ
Calviղ - avatar