$.ajax({ url: "https://app.asana.com/-/api/0.1/workspaces/", type: 'GET', dataType: 'json', // added data type success: function(res) { console.log(res); alert(res); } });