Re: Adding multple records through REST XML web services

2012-11-28 Thread Tony Messias
You have to parse the XML to Cake's pattern and then you can use saveMany, for example. http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-savemany-array-data-null-array-options-array Att, -- Luiz Antonio S Messias Desenvolvedor Web @tonyzrp

Adding multple records through REST XML web services

2012-11-27 Thread Sam
Dear CakePHP experts, I have an add() record function that is used as a REST web service via XML. The code is very simple. Something like below; $this->Object->create(); $this->Object->save($this->request->data); The limitation is that this function can only add one record at a time. What I wa