i am figuring out how i can use the tumblr api, but i think i maybe doing it wrong
i tried
$.get("http://jiewmeng.tumblr.com/api/read/json?callback=tumblr", function(data) {
$("body").prepend(data);
});
and even $.ajax()
$.ajax({
type: 'get',
contentType: 'json',
url: 'http://jiewmeng.tumblr.com/api/read/json',
success: function(data) {
alert(data);
}
});
and i got nothing. but when i go to the url in the browser, i get something, whats wrong?