查看: 1222|回复: 3
|
MSXML2.XMLHTTP send 不到https post request
[复制链接]
|
|
MSXML2.XMLHTTP send 不到https post request..有谁能教我如何send?
var DataToSend = blablabla;
xmlhttp = Server.Createobject("MSXML2.XMLHTTP");
xmlhttp.open("POST", "https://www.abc.com/GenKey", false);
xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xmlhttp.send(DataToSend);
send 那边有error...http 的话就没问题。。 |
|
|
|
|
|
|
|
发表于 10-7-2012 11:46 PM
|
显示全部楼层
非得要使用到MSXML吗? 为何不使用jQuery封装呢? 而且jQuery又cross-browser... 省下很多麻烦... |
|
|
|
|
|
|
|
发表于 11-7-2012 03:39 PM
|
显示全部楼层
jQuery 是不错但 resource consumption 是个问题,当你做大 project 的时候 jQuery 必不得已让你拿掉而且 mobile web jQuery 带来更大麻烦
所以从低学起和尝试解决是不错的麻烦。 |
|
|
|
|
|
|
|
楼主 |
发表于 12-7-2012 12:38 PM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|