Hmmm I don't think we are that far off... ... think I have ... Agreed. That is what I meant when I said "and usually navigate to that state in one step". When...
... mike> As for the media-type of the return, I do this: - return a mike> helpful (possibly brief) message as the status description mike> (400 "Invalid...
... I use something similar to Mike's approach. If we use the same media-type as the request we can ensure the agent will understand it, sometimes the agent is...
... […] ... No, I don't think so. ... Oh, certainly they're important, and I'd strongly agree that many visible "REST" APIs are woefully insufficient with...
Rasta automatically returns an error message in whatever is in the Accept: header, using hte request media type as a differenciating factor only when there's a...
Hi all, I just posted this article and I thought it might be of interest: http://blog.arc90.com/2008/06/building_restful_web_apps_groovy_restlet_part_1.php ...
Hi All, I have been far for a long time....i have a small clarification .. WHAT IS THE DIFFERENCE BETWEEN REST AND SERVLET.............. can any one explain me...
Hi Vikranth, REST is an architectural style and Servlet is a Specification of Sun to implement web applications. If you want to build Restful web applications,...
Any opinions on this among those who have designed previous reliable HTTP protocols? (Or anybody else?) http://wiki.secondlife.com/wiki/Certified_HTTP_Project ...
Bob Haugen
bob.haugen@...
Jun 5, 2008 4:14 pm
10880
This thread is old (I am only just catching up on rest-discuss), but I had to respond to this as I think the crucial point wasn’t made by anyone else. ... ...
... I don’t see any problem with it. However, I also see no problem with your proposal to use 202 to return a document requesting confirmation as long as the...
... Aristotle, I think 202 isn't right here. It would mean the request is accepted, but to be done later on, not that it requires further intervention. There...
... Oh. You are right. I hadn’t thought that through. 202 implies that the server may later successfully perform the requested operation on its own, which is...
Hi, how should I model something, if I need a 5th method, but there are only GET, POST, PUT and DELETE?Example: I want to deactivate a user in a user or...
Stephan Koops wrote (in ... There are at least 27 HTTP methods that have public descriptions. Other methods are in private use. I do not know where you get the...
I've come to see pretty URLs as part of a resource-oriented system, although this is not strictly true, of course. That I've been using Ruby on Rails for...
... Just to clear (or complicate ;) things up you can use other methods (e.g. WebDAV methods), as long as they are well defined. Usually though we use just the...
When I want to track a user throughout multiple requests (session) without using a cookie, I use HTTP Authentication. I will point out that most of the time I...
... You can do whatever you want! You can use a POST if you want. Just make sure that this is coded in via a resource which is GETtable. That is you don't hard...
Hi Stephan, ... generally, when you think you need more methods, what you actually want is more resources. Remember that there is no requirement for resources...
... I generally prefer `application/x-www-urlencoded`; in this example, that would make the entity `active=1` or `active=0`. ... No, they’re not: they depend...
... I think you should start by questioning whether you need sessions in the first place. What data are you storing in them and why does that data not deserve...
... It’s easy to abuse, and the fact that the HTML subset of HTTP has no other method for affecting server state does not help with this. But not only does...
... When I have a *user* interface where some resources need authenticated access, then I need some kind of session, don't I? Michael -- Michael Schuerig ...
... In this case (deactivate) I think you'll find the user has a lifecycle and therefor there's a state machine implicit in the domain. Once that's captured it...
... Yeah I know. I just added that cos I didn't have the energy to fight with everyone else on this. I have seen too many discussions on this list where saying...
Michael Schuerig wrote (in ... When you have a user interface in which access to some resources requires authentication (and, presumably, authorization), there...
... Not necessarily. If you want to be purely RESTful, you'd strive to use HTTP authentication for such things, but practically that's tough. Often,...