https请求不工作在phonegap-iphone应用程序 [英] https request doesn't work in phonegap-iphone app
本文介绍了https请求不工作在phonegap-iphone应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用jquery的方法 getJSON()
在phonegap-iphone应用程式中呼叫https请求。
I am trying to call https request in phonegap-iphone app using jquery's methodgetJSON()
.
它在正常的safari工作正常,但在移动safari,它给出错误像下载失败 - Safari不能下载此文件
。
It works fine in normal safari, but in mobile safari, It gives error like "Download Failed-Safari cannot download this file"
.
推荐答案
出现此错误是因为所需的服务器具有无效的证书!
https服务器必须具有有效的安全证书。
This error occur because the desired server has invalid certificate! the https server must have valid secure certificate.
这篇关于https请求不工作在phonegap-iphone应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文