Source

Web Services Tutorial Code / public / index.php

Diff from to

public/index.php

 <?php
 
 $data = array(
-    'status' => 'live',
-    'now' => time()
-    );
+    'format' => 'json',
+    'status' => 'live'
+);
 
 echo json_encode($data);