A sample PHP RESTful API