Access to XMLHttpRequest at 'API_URL' from origin 'http://localhost:8080' has been blocked by CORS policy:

后端 未结 3 2620
鱼传尺愫
鱼传尺愫 2021-02-20 08:33

Access to XMLHttpRequest at \'API_URL\' from origin \'http://localhost:8080\' has been blocked by CORS policy: Response to preflight request doesn\'t pass a

3条回答
  •  天命终不由人
    2021-02-20 09:11

    Cors Issue Solved Based on Lot of research. I got one solution. I have refer the document like ionic cordova plugin installed in my App. fixing the Cors issue. Below given the document URL : https://ionicframework.com/docs/native/http

    Go through Implement On it.

    I got Server API response below like this. please help me.

    data: "{"statusCode":"1004","message":"Authorization failed"}"

提交回复
热议问题