crud-api-sample using Resful API in Symfony2