Home  >  Q&A  >  body text

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

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

大家讲道理大家讲道理2766 days ago477

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 13:32:04

    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.

    reply
    0
  • Cancelreply