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