Why is cakephp form input stored in $this->data and POST data stored in $this->params['form'] ?
- by spudnik1979
the cakephp rest tutorial says that post data should be in $this-data, but I am finding that it is not, but instead inside $this-params['form']
However, when using cakephp form helper in a view, the data is in $this-data.
Am I correct to have to check both locations in my controller?
It just seems a bit of a waste of extra code. Shouldnt the data appear in one place for whether it came from a rest rest requestor or Cakephp form post?
ps im using cakephp 1.3