📜  ajax 获取请求 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:01.587000             🧑  作者: Mango

代码示例6
$.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);
        }
    });