Is It Possible To Send Custom Headers With An Xhr ("ajax" Request)?
I'm working with an API which needs extra security information sent along with an HTTP request as meta-information in headers. Is it possible to set those in an XMLHttpRequest?
Solution 1:
Yes, see "The setRequestHeader() method" of the current XMLHttpRequest working draft of 6 December 2012.
Post a Comment for "Is It Possible To Send Custom Headers With An Xhr ("ajax" Request)?"