|
@@ -5,6 +5,7 @@
|
5
|
5
|
var xhttp = new XMLHttpRequest();
|
6
|
6
|
xhttp.onreadystatechange = function() {
|
7
|
7
|
if (this.readyState == 4 && this.status == 200) {
|
|
8
|
+ console.log(this.responseText);
|
8
|
9
|
jsonObject = php_crud_api_transform(JSON.parse(this.responseText));
|
9
|
10
|
document.getElementById('output').innerHTML = JSON.stringify(jsonObject, undefined, 4);
|
10
|
11
|
}
|