Welcome Guest, Not a member yet? Register   Sign In
Validation in controller for "patch" request
#2

Ok, I've found solution. I have to run validation manually supplying data gathered with getVar.

PUT does this automatically though. But it that case I have some troubles in creating test request with $this->put() as passing data in array doesn't work. It would be nice to have all these methods to work in a same way.
Reply


Messages In This Thread
RE: Validation in controller for "patch" request - by Taras - 08-19-2021, 03:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB