A simple restful API with CakePHP