Is there a way to configure Fiddler to intercept HTTP calls from a Windows service?

前端 未结 5 1357
梦如初夏
梦如初夏 2021-02-01 06:44

We\'re in the process of replacing an old (5+ years) Windows service application built with VS2005 that makes an HTTP GET call. There are several things that make this difficul

5条回答
  •  自闭症患者
    2021-02-01 07:13

    As .NET bypasses proxies for localhost and 127.0.0.1, just hardcode your machine name instead for the url you're testing with.

    //myUrl = "http://127.0.0.1/myservice";
    myUrl = "http://mymachine/myservice";
    

提交回复
热议问题