Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP POST not working on iOS 10.3.3

An HTTP POST is not sending the body to the server for iPad (IOS 10.3.3).

iPad (iOS 10.3.3), Outlook version 2.55.0 DOES NOT work.

iPad (iOS 11.X), Outlook version 2.55.0 DOES work.

iPhone (iOS 11.2.1), Outlook version 2.55.0 DOES work.

This may be related to post:

Is the Excel add-in incompatible with Excel 2016 for Mac when using POST method for forms?

To streamline test, I created a simple POST:

request.open('post', 'https://hooks.zapier.com/hooks/catch/XXX/', true);
request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
request.send('loginId=4&password=4'); 

I tried using application/json as well with no luck.

To eliminate some configuration error on my local server, I tried posting to zapier as well my local NodeJS restify server. Again, iPhone (iOS 11.x) works, iPad (iOS 10.x) does not pass the body.

I compared the HTTP headers received from each post. The only difference is:

iPad (iOS 10.3.3):

'content-length': '0',
'accept-encoding': 'gzip, deflate',

iPhone(iOS 11.2.1):

'content-length': '17',
'accept-encoding': 'br, gzip, deflate',

All other headers are the same.

I'll be doing testing on an iPad iOS 11 soon to see if it's iIOS related (updated in comments that I tested on iPad iOS 11 and it worked, so it's a 10.3 issue)

like image 770
Nick Caruso Avatar asked May 03 '26 11:05

Nick Caruso


1 Answers

We have been trying to resolve a similar issue for a while. Will the new release this month solve your issue? Please see Sudhi Ramamurthy's response here Is the Excel add-in incompatible with Excel 2016 for Mac when using POST method for forms?

like image 87
RickInLosAngeles Avatar answered May 07 '26 11:05

RickInLosAngeles



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!