Implement RESTful for example Posts Controller