📜  angular http async false - Javascript 代码示例

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

代码示例1
// add async:false to config like so to make http call blocking
return $http({
            url : 'https://mywebsite.com/api_whatever.php'
            method : 'GET',
            async : false
        }).success(function(data) {;

        };