I am making a JSONP AJAX request and receiving an error:
Uncaught SyntaxError: Unexpected token
What am I doing wrong in my code?
$.ajax({
url: 'http://api.server32.trustklik.com/apiv1/website/reviews?client_id=098jdsahq67tgysfrtf1babza8y97z8h&client_secret=nfijsadhf7843ryuhfy34287yhrfuihf872h4831qzaqwd32qcwqefcmowqkoeqwkfjieuqhixefhuiwrehfo&domain_name=www.uatourtesting.rajapremi.co.id',
dataType: 'JSONP',
jsonpCallback: 'callback',
type: 'GET',
success: function (data) {
console.log(data);
}
});
This is my fiddle: http://jsfiddle.net/repjt/590/