How to open a json file with fetch without getting a Cors error | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse
27th Nov 2022, 5:11 AM
Calviղ
Calviղ - avatar