ApiCloud数据Url请求

使用Url,在这里Ajax是可以跨域的!用$.ajax或api.ajax都可以

api.ajax({
url:"http://www.baidu.com",
method:'GET',
dataType:'text'
}, function(ret,err){

  if(ret){
    alert(JSON.stringify(ret) ) ;

  }
});
原文地址:https://www.cnblogs.com/qvbrgw/p/4862378.html