Source

Web Services Tutorial Code / public / index.php

Lorna Mitchell 4ba232b 


lornajane 86c99c7 


Lorna Mitchell 4ba232b 
1
2
3
4
5
6
7
8
<?php

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

echo json_encode($data);