JSFiddle - React, Tailwind, and code Playground

by sffriend

JavaScript

var access_token = "0/2f30c203fd033212e2bf64893b20a3b7";
$.ajax({
       url : 'https://app.asana.com/api/1.0/projects/262721230187604',
       dataType : 'JSON',
       type: 'GET',
       beforeSend: function (xhr) {
      xhr.setRequestHeader("Authorization", "Bearer " + access_token)
    }
    }).done(function(response) {
        console.log(response.data);
    });