开发者

get and post request to a https site using vb6.0

开发者 https://www.devze.com 2023-02-09 17:52 出处:网络
Hi i am using MSXML2.ServerXMLHTTP40 to get and post r开发者_C百科equest to a url.When i post to http site it works fine but when i post to https site it throws me an error stating the operation timed

Hi i am using MSXML2.ServerXMLHTTP40 to get and post r开发者_C百科equest to a url.When i post to http site it works fine but when i post to https site it throws me an error stating the operation timed out.I am not able to get the response.Kindly help me out.Thanks in advance


I Found the solution I have to set the ..setproxy and setproxycredentials along and also i need to get the session id .When i used all the three it worked fine.


By default HTTP will use port 80 but HTTPS uses port 443. Is it possible that you've got a firewall blocking port 443? I'd suggest trying to connect to both sites from a webbrowser to make sure it all works.

0

精彩评论

暂无评论...
验证码 换一张
取 消