I have made an Ajax call to one of my pages sitting in the server. When I am making the Ajax call, I am not getting the data. But instead I am getting status 200 OK with red font-color in the firebug. I am not able to figure out what the problem is.
I am making an ajax call to these api pages:
[{"ID":"001","name":"Naidu","school":"Hyd","hobby":"cricket"}]
My ajax call is like:
$.ajax({ url: 'http://something.com/api/name',
data:{},
type: 'post',
dataType: "json",
success: function(output) {
//alert("SUCCESS");
alert(output);
}});