|
@@ -9,7 +9,7 @@ xhttp.onreadystatechange = function() {
|
9
|
9
|
document.getElementById('output').innerHTML = JSON.stringify(jsonObject, undefined, 4);
|
10
|
10
|
}
|
11
|
11
|
};
|
12
|
|
-xhttp.open("GET", "http://localhost:8000/blog.php/posts?include=categories,tags,comments&filter=id,eq,1", true);
|
|
12
|
+xhttp.open("GET", "http://localhost/api.php/posts?include=categories,tags,comments&filter=id,eq,1", true);
|
13
|
13
|
xhttp.send();
|
14
|
14
|
</script>
|
15
|
15
|
</head>
|