I need to create a client for web api in VBA, and it needs to work as a proxy (with authentication). I was looking at the WinHttp.WinHttpRequest and MSXML2.XMLHTTP / ServerXMLHTTP classes. It turns out that:
- XMLHTTP automatically detects proxy settings provided through the proxy.pac file (good)
- WinHttpRequest not (bad)
However, on the other hand:
Since I would like to have my pie and eat it, is there a way to get the proxy automatically configured for a component like WinHttpRequest that does not follow blind redirects?
source
share