Here i am calling one API, i am getting success response but they returning the total count header part , i don't know how to take the values.
See Here:
$.ajax({
url: '//www.examples.com/api/get/',
type: 'GET',
contentType: 'application/json; charset=utf-8',
success: function(result) {
console.log(result);
},
error: function(errMsg) {
//console.log(errMsg);
}
});