Browse Source

Update client.html

Maurits van der Schee 7 years ago
parent
commit
17a475ef58
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      examples/client.html

+ 1
- 0
examples/client.html View File

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

Loading…
Cancel
Save