Q. In CakePHP, what is the purpose of request validation in RESTful API development?