What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-16 20:10:02
local json file get using xmlhttprequest cors error
//ATTENTION: API URL of file is in a local folder. //It will fire CORS error as the URL is not http. //Run it using a server. Then the error will be resolved. //eg. use live server vs extension to run server. Add solution