Ignore HTTP Proxy error

2019-09-06 17:38发布

问题:

In my setup i send HTTP request to a server in order to see those requests on fiddler i add the following code - WinHttpReq.SetProxy(2, '127.0.0.1:8888');

Unfortunately, if fiddle isn't turned on I get error message as follows-

Is it possible to ignore that message?

回答1:

The simplest approach would be to not set the proxy when Fiddler isn't running.

You haven't told us anything about your environment that would enable anyone to help you further.