<script src="./jquery-1.12.4.min.js"></script>
<script>
$(function(){
$.ajax({
// 1 请求方式 post或者get
type:'get',
// 2 请求地址
url:'https://xxxxx.cn/api/',
//3 参数
data:{
name:'张三',
tel:1368569xxxx
},
// 4 回调函数
success:function(result){
console.log(result);
}
});
});
</script>