Hello everyone, This is what works:
root@mkfmnweb:/home/matt# curl -XPOST -d '<CentralIndexKey><id></id><cik>2002</cik><company_name>CAKEPHP</company_name></CentralIndexKey>' http://192.168.1.100/cakephp/central_index_keys/add.xml --header 'content-type:text/xml' The changes I notice from the 1.3 branches of Cake's RequestHandler / REST setups are: 1) the URL must point to /add.xml --- not controller.xml (eg central_index_keys.xml). 2) the parent of the XML tree must be in the new camel case style: eg: <CentralIndexKey> ---- Not <central_index_key>. In summary; this *makes more sense *and Yay!! Thanks. Matt Kaufman http://mkfmn.com/ -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
