POST and PUT requests not working on IOS in Ionic3 App even if when moving to HTTPS give me ssl error (SSL handshake)

孤人 提交于 2019-12-11 11:56:01

问题


I'm having an issue with HTTP requests. Everything is working fine in Ionic View, browser and Android, but not working on IOS. GET requests are working fine on IOS also, but post and put requests aren't.I searched for that and I found that I should move to HTTPS and when I do that I receive SSL errors (ssl handshake). Any guesses, what should I do? the same issue mentioned here, but that answer didn't work for me
POST requests not working on IOS in Ionic2 App

After investigating my code, I find out that in IOS when posting a JSON object it changes the order of attribute, so while I have an attribute that refer to another brings it in top so that makes the problem. How to solve this please? that issue cost me a lot of time .

来源:https://stackoverflow.com/questions/57608432/post-and-put-requests-not-working-on-ios-in-ionic3-app-even-if-when-moving-to-ht

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!