rintimtim
04-19-2009, 12:28 PM
Hi there,
I'm trying to make a HttpRequest to an HTTPS-Site but I always get an error. Connecting to a HTTP-Site works fine so it has to be a S(ecurity) issue. I've also set some options for the connection but it didn't help...Here's the code..i hope you can help me
Set httpObject = CreateObject("WinHttp.WinHttpRequest.5.1")
httpObject.Option(4) = 256 + 512 + 4096 + 8192
httpObject.Open "GET", "ht" & "tps" & ":" & "//" & "ww" & "w." & "xin" & "g.co" & "m", "false"
httpObject.send
MsgBox httpObject.GetAllResponseHeaders
P.S: Sorry for the tokenized url, but i was not allowed to post the real url here (since my post count is to low) so i had to split it up
I'm trying to make a HttpRequest to an HTTPS-Site but I always get an error. Connecting to a HTTP-Site works fine so it has to be a S(ecurity) issue. I've also set some options for the connection but it didn't help...Here's the code..i hope you can help me
Set httpObject = CreateObject("WinHttp.WinHttpRequest.5.1")
httpObject.Option(4) = 256 + 512 + 4096 + 8192
httpObject.Open "GET", "ht" & "tps" & ":" & "//" & "ww" & "w." & "xin" & "g.co" & "m", "false"
httpObject.send
MsgBox httpObject.GetAllResponseHeaders
P.S: Sorry for the tokenized url, but i was not allowed to post the real url here (since my post count is to low) so i had to split it up