var url="http://127.0.0.1:5502/mock/index.json"; $.ajax({ url:url, method:"get", success:res=>{ console.log(res); } })