HTTPS request via AJAX from HTTP page

后端 未结 2 754
傲寒
傲寒 2020-12-01 12:08

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?

I can\'t imagine why t

2条回答
  •  醉酒成梦
    2020-12-01 12:45

    Anthony is right, but what you could do is create a local page the AJAX calls and that communicates with the HTTPS service via cURL or something else and returns. That way everything is done locally according to Java script.

提交回复
热议问题