Skip to search.
rest-discuss · REST Discussion Mailing List

Group Information

  • Members: 1401
  • Category: Protocols
  • Founded: Nov 13, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
Messages 10156 - 10185 of 18829   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
10156 Stefan Tilkov
stilkov Offline Send Email
Jan 2, 2008
8:11 am
... 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). ...
10157 Ebenezer Ikonne
amaeze77 Offline Send Email
Jan 2, 2008
3:02 pm
... 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@... Send Email
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...
10159 Mike Schinkel
mikeschinkel Offline Send Email
Jan 2, 2008
3:28 pm
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...
10160 Subbu Allamaraju
sallamar Offline Send Email
Jan 2, 2008
4:03 pm
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...
10161 Ebenezer Ikonne
amaeze77 Offline Send Email
Jan 2, 2008
5:02 pm
... 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...
10162 Ebenezer Ikonne
amaeze77 Offline Send Email
Jan 2, 2008
5:05 pm
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...
10163 mike amundsen
mamund Offline Send Email
Jan 2, 2008
5:35 pm
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...
10164 Subbu Allamaraju
sallamar Offline Send Email
Jan 2, 2008
5:44 pm
... Exactly. That's what I meant. Subbu http://subbu.org...
10165 Ebenezer Ikonne
amaeze77 Offline Send Email
Jan 2, 2008
7:18 pm
I like this from an implementation perspective - driving everything via resources and the URI is powerful. However, when "many" properties can be modified,...
10166 mike amundsen
mamund Offline Send Email
Jan 2, 2008
7:36 pm
(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"...
10167 Stefan Tilkov
stilkov Offline Send Email
Jan 2, 2008
7:52 pm
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...
10168 Ebenezer Ikonne
amaeze77 Offline Send Email
Jan 2, 2008
8:56 pm
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...
10169 Stefan Tilkov
stilkov Offline Send Email
Jan 2, 2008
10:33 pm
... 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...
10170 Ebenezer Ikonne
amaeze77 Offline Send Email
Jan 2, 2008
10:52 pm
Is 'update' a noun or verb? (j/k). I can see how this could work however is this resource GET'able?...
10171 Ebenezer Ikonne
amaeze77 Offline Send Email
Jan 2, 2008
11:04 pm
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@... Send Email
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...
10173 mike amundsen
mamund Offline Send Email
Jan 2, 2008
11:20 pm
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...
10174 Assaf Arkin
assafarkin Offline Send Email
Jan 2, 2008
11:33 pm
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...
10175 mike amundsen
mamund Offline Send Email
Jan 3, 2008
3:50 am
(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...
10176 Ebenezer Ikonne
amaeze77 Offline Send Email
Jan 3, 2008
12:09 pm
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@... Send Email
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....
10178 Assaf Arkin
assafarkin Offline Send Email
Jan 3, 2008
7:14 pm
... 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...
10179 Mike Schinkel
mikeschinkel Offline Send Email
Jan 3, 2008
10:48 pm
... 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 ...
10180 Erik Hetzner
e_hetzner Offline Send Email
Jan 3, 2008
11:05 pm
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...
10181 David Sidlinger
david.sidlinger Offline Send Email
Jan 4, 2008
12:01 am
... 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...
10182 Kathryn Van Stone
kathyvs Offline Send Email
Jan 4, 2008
6:25 pm
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...
10183 Josh Sled
joshsled Offline Send Email
Jan 4, 2008
6:57 pm
... 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...
10184 Mike Schinkel
mikeschinkel Offline Send Email
Jan 5, 2008
1:04 am
... 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...
10185 Mike Schinkel
mikeschinkel Offline Send Email
Jan 5, 2008
1:20 am
... 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...
Messages 10156 - 10185 of 18829   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help