Hi all, I'm taking my quarterly run at trying to properly grok REST, and as usual have only succeeding in confusing myself. :-) Perhaps you can help. I want...
... How about - you send: POST /documents Content-type: text/html --header-end-- <html> to be converted </html> you get back: HTTP/1.1 201 Created Location:...
Hi Ernie, ... That is confusing. Why "document=mydocument.html"? Is the server translating the input file or is it getting the file from somewhere else? I...
Thanks, Nic, Roy. The fog is clearing slightly. :-) The key issue appears to be: ... This is what confuses me. My (naive) understanding is that every URI ...
... /mydocument.html/pdf Alternative if the service is on the same domain. All */pdf patterns map back to the code that renders out the pdf and take the rest...
... IMHO, It _is_ a noun. I think you're being misled that "convert" somehow makes the URL less valid than "/mydocument.html/pdf", proposed by Bill. What does...
... Places are nouns, too. All you are doing is giving the URI of a service that performs stateless conversions. The GET interface simply tells you how to...
... http://myhost.com/convertor ? The whole verb-in-the-URI-thing is just a rule of thumb that I found seemed to help some brought-up-on-RPC types I know to...
Hi everybody, ... Thanks for all the comments, they all helped add a little bit of ... So, services (even those that look like verbs) can be stateless ...
... Er, services that "look like verbs" are just confusing -- the question is whether they behave according to the uniform methods applied to them or not. If...
... REST is a model for managing state mutation and transfer in a large scale distributed architecture. People often get caught up in whether a simple...
Hey, There are a lot of places on the web where I have seen people specify client preferences (acceptable media types, languages, etc.) in the Query String...
Sandeep Shetty
sandeep.shetty@...
Apr 6, 2006 4:19 pm
5845
... Query parameters are a convenient way to construct URIs for resources, for example, GET-based HTML forms. Look at these two URIs: ...
Hey Joe, ... google.com is the naming authority and /search is the resource. You don't have to think of /search as one big resource that contains these small...
Sandeep Shetty
sandeep.shetty@...
Apr 7, 2006 8:21 am
5847
Hi Sandeep, ... I think there's some overloading of the term resource going on here. The way I've come to think of it, a resource is that which is identified...
... Pretty much, though I'd say that http://lejava.artima.com/articles/rest_easy and http://lejava.artima.com/articles/rest_easy?q=REST *could* refer to ...
Hey Bill, ... This is what I'm saying as well. ... Oh! I wasn't going down that road. I was just trying to explain to Joe (who said "I don't think you'd...
Sandeep Shetty
sandeep.shetty@...
Apr 7, 2006 4:35 pm
5850
... Case in point: http://developer.yahoo.com/common/phpserial.html#outputparam Sandeep Shetty http://sandeep.shetty.in/...
Sandeep Shetty
sandeep.shetty@...
Apr 7, 2006 4:50 pm
5851
... Similarly, Layer Stripper Bill de Hora recently flirted in this way: "Some people when faced when a distributed programming problem, think 'I know, I'll...
Hi Sandeep, ... Yes, you're right. I have a fear of JavaScript that I need to get over. My concern is the test matrix. I like the fact that I can check what...
Hey Bill, ... More or less, except I'm not just talking about content negotiation but about all the request-header fields (conneg, authorization, etc.). Also,...
Sandeep Shetty
sandeep.shetty@...
Apr 8, 2006 3:27 pm
5855
... There had better not be, otherwise my PhD dissertation is toast. :-) Truthfully, I think I can say that there isn't any such work out there -- the closest...
Hi Sandeep, ... What you describe sound to me like the approach envisioned by the HTTP designers when they designed content negotiation, and in Roy Fielding's...
... Whoa, I think this is a case of reading too much into my dissertation. The sites that I produce *always* separate languages into separate URI trees. Day...
... I think all the issue here is mainly due to browser limitations, as they doesn't allow the user to easily swith conneg preferences. The more I read...
Hi all Friends.. I m beginner of webservice. i have made a web service in asp.net and after then i have add that one with a client by using add webreference, ...
... To make a REST webservice simply build a normal webapp with different resources. Restrict yourself to the HTTP methods as the verbs for your webservice,...
Bonjour Yannick, ... Well, we'd have to do user testing with the actual implementation of your idea. But I can't imagine anything simpler for the user than ...