Source

Web Services Tutorial Code / public / index.php

Full commit
1
2
3
4
5
6
7
8
<?php

$data = array(
    'status' => 'live',
    'now' => time()
    );

echo json_encode($data);