I try to request the following JSON
Data:
{"status":"success","id":8,"title":"Test","content":"dies ist test 12"}
With this Ajax Request:
$.ajax({
url: 'http://www.XXX.de/?apikey=XXX&search=test',
type: "GET",
dataType: 'jsonp',
success: function(data){
$('#content_test').append(data.content);
},
error: function(data){
//
}
});
It is not working. What I'm doing wrong?