I am getting this error:
Uncaught SyntaxError: Unexpected token :
When making this call:
function TopDonorCheck() {
$.ajax({
url: "http://coebot.tv/api/v1/vars/get/top-donor/supermcgamer",
type: 'GET',
contentType: 'application/json',
dataType: 'jsonp',
success: function (TopDonorData) {
console.log(JSON.parse(TopDonorData));
console.log(TopDonorData);
}
});
}
The response is:
{"value":"TheRealLemon","description":"","lastModified":1431276238,"status":"ok"}
I can't figure out what is wrong. Can someone help me with this?