How can I get the header properties from a jquery ajax call. I am sending a code in the header so I need to read it in the webmethods:
$.ajax({
type: "POST",
url: url,
data: data,
contentType: "application/json; charset=utf-8",
dataType: "json",
success: success,
error: error,
headers: {
'aaaa': "code"
}
});