I have a document that contains the following content:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8>
<title>Document</title>
</head>
<body>
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var apiKey = "8h3wb";
$.ajax({
url: 'http://api.centralindex.com/v1/entity/search/who?who=Starbucks&country=ie&api_key=8h3wb',
dataType: 'jsonp',
success: function(data){
console.dir(data);
}
});
});
</script>
</body>
</html>
And this is how the JSON data is returned:
{"success":true,"msg":"ok","data":{"total_rows":20,"rows":[{"_id":"611068083122176","_rev":"181-78a9931ef136cbb9f61493dd7e25f435","type":"business","when":"2014-09-23 16:42:23 +00:00","country":"ie","scope":"public","trust":1,"status":{"status":"active","meta":
What might be causing the issue?
P.S: I assure you, I am not unintelligent :(