Skip to content

Instantly share code, notes, and snippets.

@exclusiveTanim
Created March 21, 2019 14:56
Show Gist options
  • Select an option

  • Save exclusiveTanim/037ce73fbbaa12215ebd948a6bc875da to your computer and use it in GitHub Desktop.

Select an option

Save exclusiveTanim/037ce73fbbaa12215ebd948a6bc875da to your computer and use it in GitHub Desktop.
Test code Intercom-21301183670
var url = "http://www.google.com";
var client = Ti.Network.createHTTPClient({
onload : function(e) {
Ti.API.info("Received text: " + this.responseText);
alert('success');
},
onerror : function(e) {
Ti.API.debug(e.error);
alert('error');
},
timeout : 50000
});
client.open("GET", url);
client.send();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment