REST API Atribute Validation |
Hy,
I am creating a web page with API functionalites. For that I use this library: https://github.com/chriskacerguis/codeig...restserver For now it works fine, but I am searching for a good and fast vay fro validating the call atributes. Someone suggested to me to use the form_validation for the validation and that also works but I can not get the error_message if the validation fails. It just returns a emty string. And the form_validation works only on the post calls. If I try to use it on a PUT call the validation fails. Does someon know a good practice for validating atributes in REST_Controll-s? |
Messages In This Thread |
REST API Atribute Validation - by TarikHuber - 08-26-2015, 07:04 AM
RE: REST API Atribute Validation - by mwhitney - 08-26-2015, 10:54 AM
|