HTTP POST 无法在 iOS 10.3.3 上运行

HTTP POST not working on iOS 10.3.3

HTTP POST 未将 body 发送到服务器 iPad (IOS 10.3.3) .

iPad (iOS 10.3.3),Outlook 版本 2.55.0 不工作。

iPad (iOS 11.X),Outlook 版本 2.55.0 有效。

iPhone (iOS 11.2.1),Outlook 版本 2.55.0 有效

这可能与post有关:

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

为了简化测试,我创建了一个简单的 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'); 

我也尝试使用 application/json,但没有成功。

为了消除我本地服务器上的一些配置错误,我尝试 posting 到 zapier 以及我的本地 NodeJS restify 服务器。同样,iPhone (iOS 11.x) 有效,iPad (iOS 10.x) 没有通过 body.

我比较了从每个 post 收到的 HTTP headers。唯一的区别是:

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',

其他headers都一样。

我很快就会对 iPad iOS 11 进行测试,看看它是否与我IOS 相关(在评论中更新我在 iPad iOS 11 上测试过并且有效,所以这是一个 10.3 问题)

一段时间以来,我们一直在努力解决类似的问题。本月的新版本会解决您的问题吗?请在此处查看 Sudhi Ramamurthy 的回复 Is the Excel add-in incompatible with Excel 2016 for Mac when using POST method for forms?