Answer by Charlie Martin for Setting up a RESTful web service
Instead of authenticating each time, save a chunk of state (in, eg, a cookie) that identifies your session, and use that. It then becomes either a parameter to a GET (using the ?name-value syntax) or...
View ArticleAnswer by Wrikken for Setting up a RESTful web service
Some remarks:While you could set up your whole application to have a REST interface, you should set it up to still be able to call it internally. Calling it from HTTP, and getting results back by HTTP...
View ArticleAnswer by williamvicary for Setting up a RESTful web service
Typically I prefer to produce an interface which can be called using standard PHP and then add an interface to this which adds authentication and RESTful access. So you can access for...
View ArticleSetting up a RESTful web service
I'm just getting into using REST and have started building my first app following this design model. From what I can gather the idea is to build your service like an api which your website itself is a...
View Article