Answers for "how to pass header in ajax post"

1

pass header in ajax

$.ajax({
    url: "/test",
    headers: {"X-Test-Header": "test-value"}
});
Posted by: Guest on August-17-2020

Code answers related to "how to pass header in ajax post"

Code answers related to "Javascript"

Browse Popular Code Answers by Language