Example of a RESTful JSON API using Flight PHP