Hey Sonny, I know how much of a pain it is to setup a fully functional and operational REST architecture in Cake. Yes the REST routing is good, it's some of the best that I've ever seen. However, it does have some limitations much like you are experiencing.
Look at my website : http://theeasyapi.com : which connects other API's together into one API that takes in XML and sends back XML. Why The Easy API is so important and vital in our growing field is that just like you are finding that some places send back information in plain text, some in JSON, some in XML, some in XML with a ton of NS's. It just makes it complicated and it just adds more and more code into your project. The Easy API is completely different in that you send it XML (which is well documented), and you get back XML regardless of how the other system sends it back. One way to send, and you know exactly what you'll get back. Sign-up for an account (free one available) and send me an email that's listed on the site. I will be more than happy to walk you through the setup techniques of a REST that sends back XML. Also, I would be more than happy to incorporate your system into The Easy API as well. Take care, Chad On Feb 16, 10:49 pm, SonnyBurnette <[email protected]> wrote: > I just setup a simple example to test REST. I have been able to > create, edit, delete, etc. How do I ignore REST calls to delete and > edit but still allow it from the normal web interface? > > example: The web interface can go towww.domain.com/users/edit/5but I > don't want to allow any REST calls there. > > Also, I am seeing that I am sending in XML but I am not getting XML > back when I create records. Shouldn't cakephp know to spit back an XML > response versus the normal html flash message? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
