<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<div id="box"></div>
<script src="./jquery.js"></script>
<script>
// 使用 getJSON() 方法向服务器发送 get 类型的请求,请求的数据格式是 JSON 格式的
$.getJSON('http://192.168.1.35:8080/api/list_students', function(data, textStatus, jqXHR){
console.log(data)
console.log(textStatus)
console.log(jqXHR)
})
</script>
</body>
</html>