Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

pass header in ajax

$.ajax({
    url: "/test",
    headers: {"X-Test-Header": "test-value"}
});
 
PREVIOUS NEXT
Tagged: #pass #header #ajax
ADD COMMENT
Topic
Name
2+1 =