Hi,
I am using jQuery.ajax function to make an ajax call to a page method in asp.net. I specifically set the content-type to "application/json; charset=utf-8". When I looked at the response in the firebug it says the content-type is html.
Following is the code to my ajax call
$.ajax({
async: asyncVal,
type: "POST",
url: url + '/' + webMethod,
data: dataPackage,
contentType: "application/json; charset=UTF-8",
dataType: "json",
error: errorFunction,
success: successFunction
});