Skip to content

Instantly share code, notes, and snippets.

@dulichan
Created February 13, 2014 02:57
Show Gist options
  • Save dulichan/8968945 to your computer and use it in GitHub Desktop.
Save dulichan/8968945 to your computer and use it in GitHub Desktop.
Example of Jaggery GET with Callback
var url = "https://api.twitter.com/1/statuses/user_timeline.json";
var data = { include_entities:true,include_rts:true,screen_name:"wso2",count:1 };
var twitterJson = get(url, data ,"json", function(data, xhr){
print(data);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment