Ionic + Angular - How to avoid the “404 Not Found (from cache)” after POST request?

前端 未结 5 630
眼角桃花
眼角桃花 2021-02-01 16:40

this question is partly pointing to my previous question : Ionic + Angular POST request return state 404

But i wasn\'t able to find working solution.

Problem i

5条回答
  •  无人共我
    2021-02-01 17:17

    After many hours, I found one solution that worked: run cordova plugin add cordova-plugin-whitelist

    In my case, I had already configured config.xml and index.html on origin, as mentioned here and elsewhere.

提交回复
热议问题