Created
December 10, 2010 03:40
-
-
Save evanrmurphy/735729 to your computer and use it in GitHub Desktop.
Access the Chip Chirp API with JSONP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> | |
<script> | |
$(function(){ | |
$.getJSON("http://chipchirp.heroku.com/chirps/?callback=?", | |
function(data) { | |
console.log(data); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment