first PHP Rest API & simple example