Here is my code I am getting error related "No 'Access-Control-Allow-Origin' header is present on the requested resource" how to use getJson method properly. Any help would be appreciated
$.getJSON('//freegeoip.app/json/', function(location) {});
Here is my code I am getting error related "No 'Access-Control-Allow-Origin' header is present on the requested resource" how to use getJson method properly. Any help would be appreciated
$.getJSON('//freegeoip.app/json/', function(location) {});
Copyright © 2021 Jogjafile Inc.
Try this :