I know how to make an HTTP request to my REST api from javascript using jQuery or XMLHttpRequest. What I want to do now is make the request without setting properties for the he
You can possibly get an instance of the HmlHttpRequest object and use the setRequestHeader.
jQuery has a beforeSend handler you can set to get the actual hxr object.
$.ajax({ beforeSend: function(xhr){ xhr.setRequestHeader("name","value"); } ... })