This commit is contained in:
Maurits van der Schee 2018-09-02 12:09:51 +02:00
commit feac7a5db3

View file

@ -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>