Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70975

Capacitor 6 CapacitorHttp does not send POST data

$
0
0

After upgrading from Capacitor 5 to 6, no POST data is sent in Android.

Android Studio LogCat (it shows that the POST data should be sent):
pluginId: CapacitorHttp, methodName: request, methodData: {"url":"https:\/\/example.com\/login","method":"POST","data":[{"key":"login","value":"god","type":"string"},{"key":"passwd","value":"12345678","type":"string"},{"key":"device_id","value":"secret055a65bfde","type":"string"}],"headers":{"SESSIONHASH":"null","Accept":"application\/json, text\/plain, *\/*"},"dataType":"formData"}

Nothing arrives on the API side.
There are no changes in the code and I use the identical AndroidManifest.xml.

How can I debug this?

[edit]
with angular 16

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 70975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>