-
Notifications
You must be signed in to change notification settings - Fork 136
POST Data is not passing (iOS) #251
Comments
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. |
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. See: http/ios/Plugin/CapacitorUrlRequest.swift Line 46 in a9103fe
maybe we could specify that on the documentation EDIT: |
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
#208
#67
The text was updated successfully, but these errors were encountered: