-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
win1.addEventListener('open',function(){
var xhr = Ti.Network.createHTTPClient();
xhr.open('GET','http://openapi.seoul.go.kr:8088/737472696b65746d32303638/json/PublicWiFiPlaceInfo/1/1000');
xhr.send();
xhr.onload= function(){
try{
Ti.API.log('open > ' +
this.responseText);
alert(this.responseText);
//lbData.text = this.responseText;
//var json = eval('('+this.responseText +')');
//setWifiData(json);
}catch(e){
alert('get WifiData err' + e.message);
}
}
});
Metadata
Metadata
Assignees
Labels
No labels