silkimen / cordova-plugin-advanced-http

Cordova / Phonegap plugin for communicating with HTTP servers. Allows for SSL pinning!
MIT License
391 stars 313 forks source link

Could not connect to the server when post request #478

Closed letseatcayman closed 11 months ago

letseatcayman commented 1 year ago

I'm using "cordova-plugin-advanced-http": "^3.2.1", plugin for post request call.

let postCall = this.http.post('url', { 'name': 'xyz', 'password': '****', 'mode': 'authprev' }, { 'Content-Type': 'application/x-www-form-urlencoded' }); return from(postCall);

Mostly getting issue on some of the iPhone devices, also it's working on android devices. When we call that post request getting "Could not connect to the server" error. Can you please let me know what's wrong with my code.

silkimen commented 11 months ago

Please use StackOverflow for this kind of questions.