Open areanet-schmid opened 2 years ago
We are experiencing this too. +1
@areanet-schmid are you only experiencing this on certain versions of iOS? I am testing a new app and users with iOS v14 are reporting issues that seem related.
Hi Guys any solution to this. I cant seems to get POST data on the server. But i can get data when using Postman. Any help would be grateful
This is the final item on my app and i really need a solution ASAP any help suggestions would be appreciated
I've also encountered this issue.
Works fine in Chrome, but nothing is passed on iOS
iOS 15.5 capacitor/core 3.4.3 capacitor/ios 3.4.3 capacitor-community/http 1.4.1 ionic/angular 6.0.0
I ended up using axios until I find a permanent solutions. Works well on both iOS and Android
I fixed this by setting the 'Content-Type' header to my request as reading the ios plugging relies in the content type to parse the body data.
maybe we could specify that on the documentation
EDIT: tested on IOS only
yeah the problem is known and I think pull requests were sent but there is absolutely no review by the maintainers. Create a http service with all requests inside and use axios, if one day capacitor http is finally working properly, you can add it by simply changing the http service and you won't have to change every requests in your app.
I'm trying to do a simple post request on iOS.
SERVER_URL is a simple PHP script with:
var_dump($_POST);
POST data is not sending - see console log:
Environment:
similar tickets https://github.com/capacitor-community/http/issues/208 https://github.com/capacitor-community/http/issues/67