... Thanks - the resource diagram says "add a new order" when it should really be "submit order". I'll clarify this in an update (I use this diagram a lot). ...
... taken ... Ah, so 'submit order' is pretty much the creation of an order. I actually thought 'submit order" had a different meaning which is why I made my...
10158
Bob Haugen
bob.haugen@...
Jan 2, 2008 3:19 pm
... I had the same question. My usual interpretation is that creating an order is different from submitting an order. An order is an offer to buy. It usually...
Just FYI, from Amazon's Developer newsletter: Amazon S3: Announcing POST Support In response to customer feedback, we've added POST support for Amazon S3. POST...
Why not just use <bar> as the document root element in the second case below? In that case, a PUT with root element foo would be a replacement request for the...
... I think this the approach that I would follow. To give a more concrete example, if I have: <itemResource> <item>Dodge Stratus</item> <itemDesc>Light...
Even in an internal system, "submit" could mean something else. It could indicate the need to process or fulfill the order. These are the type of operations...
FWIW, I prefer to treat partial updates as if they are a different resource than the full update. That means I use a different URL for partial updates. It...
I like this from an implementation perspective - driving everything via resources and the URI is powerful. However, when "many" properties can be modified,...
(renamed subject to get back on track...) Ebenezer: yes, exposing a URL for each element of a partial update can be a problem. Often I expose a single "update"...
I've chosen to map "submit order" to a POST to the collection resource identified by /orders. The POST would return the URI of a new resource (the order) in a...
This works as in your sample "submit" means "create". If submit was a distinct operation from create, you would have to do something different. Any thoughts...
... Anything can be mapped to GET, PUT, POST, or DELETE -- you just have to decide which of these is the best match. For example, you could do an order state...
I generally agree with what you've suggested and I believe we had this discussion a while. I like using POST to a collection (or state) whenever its more than...
10172
Elliotte Rusty Harold
elharo@...
Jan 2, 2008 11:04 pm
... It's doable but what of you need to update 6 out of 12 parts? I suppose you could define the partial URLs as query strings easily enough. -- Elliotte Rusty...
LOL yeah. no verb allowed<g> in my patterns, this resource will return 404/415 if you attempt a GET. however, doing the PUT usually returns a Location of the...
To me, the use of XML is confusing, it leads to thinking of the resource in terms of a closed, well-formed document, coloring the decision. I think it's easier...
(sigh - posted last reply offline to Assaf...) I see your point, your pattern has the server responding with PUT-able hForms that contain only the valid...
I'm a little confused. :) Is the resource 'update' or 'shipping address' or either depending on the situation? I do like where the discussion with Asaf went in...
10177
Eric J. Bowman
eric@...
Jan 3, 2008 6:39 pm
... Once again, whatever point you're trying to make will most likely be lost on others when you resort to name-calling of those who disagree with you, i.e....
... Typically an account settings page will show you most if not all of the values associated with that resource (your account). But the form will only...
... I regretted adding that the moment I sent the email, but didn't want to call attention to it by sending another email. My apologies, it was written is a ...
At Thu, 3 Jan 2008 17:48:32 -0500, ... I think that you aimed it at me. Eric Bowman & Erik Hetzner are two different people (we have, I believe, had...
... That's a pretty big leap. The (perceived) lower barrier to entry is only one of many factors in the spread of JSON. The same-domain limitation of XHR and...
Has anyone had any experience writing acceptance tests for REST design? I would like to hear your experiences. In particilar, the system I am writing will...
... curl/wget can be good clients if the browser isn't suitable. I've had success in the past with an bespoke scripting/assertion layer over HttpClient (in...
... Heh. I guess that would be rather uncomfortable; a modern day Sybil! But, apologies to you too. :) ... Well, you caught me there that yes Postel's Law...
... Actually, I would incorporate the facts of same-domain limitation of XHR and the ability to "eval" JSON from other domains as part of (what you identify as...