0
여기
var url = "https://www.appcelerator.com";
var service = someservicename;
var xhr = Ti.Network.createHTTPClient({
onload: function(e) {
// this.responseText holds the raw text return of the message (used for JSON)
// this.responseXML holds any returned XML (used for SOAP web services)
// this.responseData holds any returned binary data
Ti.API.debug(this.responseText);
alert('success');
},
onerror: function(e) {
Ti.API.debug(e.error);
alert('error');
},
timeout:5000
});
xhr.open("post", url);
xhr.send(someservicename);
입니다,하지만 어떻게 내가 매개 변수일반 HttpClient를 또는 아약스 클래스