I can see in the logs both the *Authorization* and *Content-Type* header are not set. If you tried moving the `xhr.open` call to above `xhr.setRequestHeader`, and that didn’t work - I’d try asking around on the Titanium forums, as this seems a Titanium problem.
For me, moving the open call to the top results in making network requests successfully.
over 9 years ago
Hey Mark, thanks for your quick reply. - Sadly this does not solve the problem.
Before updating to the new Titanium SDK 3.3.0 i received a lot of conenction errors calling the Kinveybackend. (just ios, android was fine)
After the update calling the backend works fine on ios, too. So my guess is that something changed regarding the http protocol or something like that.