Search the web
Sign In
New User? Sign Up
rest-discuss · REST Discussion Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

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

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