Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Alternative of FormData object in Titanium

$
0
0

Hi,

I want to pass data to server in post request using http request. We have javascript code to send but that is for the browser not for app and also it is using following code to send data.

var formData = new FormData(); formData.append('upload', FILE_DATA, FILE_NAME); xhr.send(formData);

When I used the same code in Titanium, it throws error that "FormData" not found. Can anybody tell if there is any alternative way to FormData object in titanium?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



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