【发布时间】:2009-04-09 21:24:33
【问题描述】:
我正在对网络服务器本地的网络服务进行 POST。一切都很好,直到我在启用 SSL 的网络服务器上托管该站点。网络服务路径是相对的,意思是,我没有参考协议。 例如。 /webservices/method.asmx
POST 导致运行时错误。有人见过这个吗?
$.ajax({
type: "POST",
url: theURL + "/" + method,
data: body,
success: function (msg) {
alert("Data Saved: " + msg);
},
error: function (msg) {
alert("Broken: " + theURL + "/" + method + msg.responseText);
}
});
【问题讨论】:
-
你能给出完整的错误和FireBug数据吗?
标签: asp.net jquery ajax web-services