ServerXMLHTTP does not support redirect hooks (see Microsoft Knowledge Base Article 308607 ). However, WinHTTP can be used in its place, and this contains a custom option to enable forwarding.
How to disable WinHTTP redirects in VBA:
webClient.Option(6) = False
In the context:
Set webClient = CreateObject("WinHttp.WinHttpRequest.5.1") webClient.Option(6) = False webClient.Open "POST", "http://example.com", False webClient.send ("")
source share