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?
Yes, see "The setRequestHeader() method" of the current XMLHttpRequest working draft of 6 December 2012.
1.4m articles
1.4m replys
5 comments
57.0k users