I am making this simple get request using jquery ajax:
$.ajax({ url: \"https://app.asana.com/-/api/0.1/workspaces/\", type: \'GET\', success: functio
var settings = { "async": true, "crossDomain": true, "url": "", "method": "GET", "headers": { "content-type": "application/x-www-form-urlencoded" }, "data": { "username": "user@company.com", "password": "12345678" } } $.ajax(settings).done(function (response) { console.log(response); });