Skip to content

Instantly share code, notes, and snippets.

@benheb
Created March 22, 2013 18:00
Show Gist options
  • Select an option

  • Save benheb/5223407 to your computer and use it in GitHub Desktop.

Select an option

Save benheb/5223407 to your computer and use it in GitHub Desktop.
request.get("http://www.arcgis.com/sharing/rest/search?num=100&start=0&sortField=created&sortOrder=asc&q=snow&f=json", {
handleAs: "json"
}).then(function(data){
console.log('data', data)
},
function(error){
console.log('error!')
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment