html5 - H5 的APP通过http调用API,需要解决跨域问题吗?
大家讲道理
大家讲道理 2017-04-17 13:30:04
0
1
440

H5 的APP通过http调用API,需要解决跨域问题吗?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
左手右手慢动作

It is not necessary for the browser to decide whether to allow cross-domain requests. The request in the APP may be initiated by the APP and there is no cross-domain problem. If it is initiated by the web page, the APP can allow the webview cross-domain request, or directly intercept it itself. Then proxy this request.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!