Get HTTP requests and responses made using HttpWebRequest/HttpWebResponse to show in Fiddler

后端 未结 3 1328
自闭症患者
自闭症患者 2020-11-27 04:41

Is there any way I can hook Fiddler up to capture requests and responses made using .NET HttpWebRequest and HttpWebResponse?

3条回答
  •  一整个雨季
    2020-11-27 05:39

    If you are able to modify the request URI, and it is localhost then there is a much simpler solution: change the hostname to localhost.fiddler.

    This has no dependency on setting up proxies (whether setting HttpWebRequest.Proxy or the element in a .config file).

    (From comment on this question.)

提交回复
热议问题