How to open a json file with fetch without getting a Cors error | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
27th Nov 2022, 5:11 AM
CalviÕ²
CalviÕ² - avatar