how to add header in ajax request code example
Example 1: add parameters ajax request
$.ajax({
type: 'POST',
url: '/test',
data: { abc: 123 },
success: function(resp) { }
});
Example 2: how to send authorization in header of HTTP GET using ajax
AJAX Authorization