Yo Nathan ? :) See first if you can make sense out of the below first. Shows your how to return Json/Xml views.
http://book.cakephp.org/2.0/en/views/json-and-xml-views.html Handling a JSON POST request is the same as handling a HTTP POST. On Mon, Aug 13, 2012 at 3:11 PM, 42startups <[email protected]> wrote: > Hi > > I'm looking for an up-to-date tutorial on creating a REST API using Cake so > that I can send a POST request to create a new User and also a GET request > to fetch and authenticate a User's username and password. > > I've found a few online, but they seem to be from the 1.3 Cake version. And > the Cookbook instructions don't seem to work for me. > > Cheers > > -- > 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]. > Visit this group at http://groups.google.com/group/cake-php?hl=en-US. > > -- Simon Males -- 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]. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
