0
CORS error
I cant solve the issue for the request to json file Front-end only!! https://github.com/Mkhaleddd/coursera_course
7 Réponses
0
Add a cros middleware into the backed server
0
Can you please elaborate more specifically?
0
Mariam Khaled Are you consuming the external API or you have created the server on your own?
0
I think external
(first time using this)
0
Hey can anyone tell me why my javascript code is not running in VS CODE.... Although nodejs is installed.... But showing module error found
0
Mariam Khaled Try adding no cors as a mode with your API url.
fetch(url, { mode: 'no-cors'})
0
Rahul show your code