$(function() {
$.get('http://itunes.apple.com/cn/lookup?id=728200220', function(data) {
console.log(data);
});
})
I want to get the data from the link,I start a server,caused the error:
XMLHttpRequest cannot load https://itunes.apple.com/cn/lookup?id=728200220. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.