get SENT headers in an XMLHttpRequest

后端 未结 3 1896
日久生厌
日久生厌 2020-12-15 04:10

Trying to get the Request headers from the XHR object, but with no luck, is there a hidden method or property of that object that will expose the headers sent by the browser

3条回答
  •  悲&欢浪女
    2020-12-15 04:40

    Try using Fiddler Web Debugger.

    http://www.fiddler2.com/fiddler2/

    You can capture the request that was sent in any browser as well as inspect the request headers, response headers, and even copy a capture sent request and send it out as your own.

提交回复
热议问题