Source

Web Services Tutorial Code / public / index.php

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

$data = array(
    'format' => 'json',
    'status' => 'live'
);

echo json_encode($data);