Welcome Guest, Not a member yet? Register   Sign In
REST API Atribute Validation
#2

To use data from a PUT call, pass the data to $this->form_validation->set_data($data).

Since you probably don't have much use for the form helper's form_error() function in a REST environment, you can use the form_validation library's error() method, which takes the same parameters as form_error().
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB