Help With Setting WinHttpRequest Options

This topic contains 1 reply, has 2 voices, and was last updated by  Bart Hoofd 5 years ago.

  • Author
  • #4956


    Hi, I haven't been able to figure out how to set the options for the WinHttp.WinHttpRequest.5.1 type. My code takes a url and returns its status. Howerever, I need it to correctly report redirects and it doesn't. I read somewhere that it might work the way I want it to if I disable the redirects option. Problem is that I can seem to figure out how to set it correctly.

    How do I correctly set $xHTTP.Option($WinHttpRequestOption_EnableRedirects) = $false?

    Please and thanks!

  • #8578

    Bart Hoofd

    The problem seems unfixable; you might want to explore and use the alternative method.

You must be logged in to reply to this topic.