$.ajax({
url : 'http://prcweb.co.uk/lab/what-makes-us-happy/data/summary.csv',
type : 'get',
}).done(function(data, statusText, xhr){
var status = xhr.status; //200
var head = xhr.getAllResponseHeaders(); //Detail header info
alert(data);
})
can anybody explain me why this api call not returning the data i want. is there any mistake i am doing? I have tried with plain get request too. What am doing wrong?