how to know the ajax request headers? code example
Example: pass header in ajax
$.ajax({
url: "/test",
headers: {"X-Test-Header": "test-value"}
});
$.ajax({
url: "/test",
headers: {"X-Test-Header": "test-value"}
});