我有外部 json URL。
http://kun6858.iptime.org:8080/apps/list/?app_mb_no=9
我用 jquery $.getJSON(..) 访问这个 json
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<script>
$.getJSON(
"http://kun6858.iptime.org:8080/apps/list/?jsoncallback=?",
{
app_mb_no : 9
},
function(data) {
console.log(data);
}
);
</script>
</body>
</html>
但我无法使用上述源访问 JSON。
我不知道如何访问外部服务器的 json。我的来源有问题吗?还是 JSON?
供您参考,这是屏幕截图..