Hi guys,
I have a problem with Winhttp.winhttprequest.5.1
When I try to POST to a URL (https://example.com) it works just fine, but when I try to POST to the IP (https://1.1.1.1) there is an error message.
My COM error handler says the following:
Description: The host name in the certificate is invalid or does not match
Number: 80020009
Source: WinHttp.WinHttpRequest
It is most certainly a problem on our server, however I am asking if there is a way that we can disable the
@PunkoHead
Here are the constants for the Option property of the WinHttpRequest object:
Global Enum $WinHttpRequestOption_UserAgentString, _
$WinHttpRequestOption_URL, _
$WinHttpRequestOption_URLCodePage, _
$WinHttpRequestOption_EscapePercentInURL, _
$WinHttpRequestOption_SslErrorIgnoreFlags, _
$WinHttpRequestOption_SelectCertificate, _
$WinHttpRequestOption_EnableRedirects, _