Error 502 (Bad Gateway) when sending a request with HttpWebRequest over SSL

前端 未结 5 671
误落风尘
误落风尘 2020-12-13 14:08

I have the following snippet in classic ASP, to send a command and retrieve the response over SSL:

Dim xmlHTTP
Set xmlHTTP = Server.CreateObject(\"Msxml2.Ser         


        
5条回答
  •  有刺的猬
    2020-12-13 14:49

    UserAgent is missing

    for example : request.UserAgent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)";

提交回复
热议问题