Answers for "javascript get ajax response"

1

ajax get request

$.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);
        }
    });
Posted by: Guest on January-04-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language