Quantcast
Viewing latest article 1
Browse Latest Browse All 7655

POST request body empty when file is included since SDK 5.0.0

Hi,

I recently upgraded my Titanium Mobile SDK to 5.0.0 GA. Since then, all my POST requests done with HTTPClient fail whenever a file is added.

For example, my registration form requires you to give a username, email, password and picture. If a picture is included, the req.body arrives empty on the server but the file is still in req.files. If I don't add a file, the req.body is correctly filled when it arrives on the server.

This worked before, when I was using SDK 3.5.0. Has anything changed in how I'm supposed to do HTTP POST requests with files?

I hope you guys can help me since this is driving me nuts.

Thx, David


Viewing latest article 1
Browse Latest Browse All 7655

Trending Articles



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