Skip to content

Instantly share code, notes, and snippets.

@felipefernandes
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save felipefernandes/11404008 to your computer and use it in GitHub Desktop.
Save felipefernandes/11404008 to your computer and use it in GitHub Desktop.
(json, ajax) leitor de posts de outro blog
$.getJSON('http://revista.caseme.local/api-ultimas-json.php?callback=')
.success(function(response) {
$.each(response.posts, function() {
var $img;
console.log(this.title);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment