从HTTP页面通过AJAX的HTTPS请求 [英] HTTPS request via AJAX from HTTP page

查看:452
本文介绍了从HTTP页面通过AJAX的HTTPS请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

会不会有调用一个HTTPS网页的任何问题(如信用卡授权服务,即WorldPay的),从一个标准的HTTP页面通过AJAX?

Would there be any problems calling an HTTPS page (e.g. a credit card authorisation service i.e. WorldPay) from a standard HTTP page via AJAX?

我想不通为什么会有一个问题,他们的回应是一个HTML页面,我可以把它嵌入到一个结果窗格中,或诸如此类?

I can't imagine why there would be a problem, the response would be an HTML page which I could then embed in a result pane or such like?

推荐答案

是的,这将是一个跨域张贴,并会被浏览器阻止。

Yes this would be a Cross domain posting and would be blocked by the browser.

这篇关于从HTTP页面通过AJAX的HTTPS请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆