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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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 8185 - 8214 of 14021   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
8185
I'm working on a REST interface for a system that doles out unique identifiers. For each request, the caller gives the system a namespace tag, and the system...
Eric Busboom
ericbusboom
Offline Send Email
Apr 4, 2007
1:51 am
8186
Applying the razor to this question leads me to ask: why can't you just use POST? For example: POST /numbers/FOO/next => 1 POST /numbers/FOO/next => 2 POST...
Nic James Ferrier
nferrier_tap...
Offline Send Email
Apr 4, 2007
2:04 am
8187
... Hash: SHA1 ... Eric> I'm working on a REST interface for a system that doles out Eric> unique identifiers. For each request, the caller gives the Eric>...
Berend de Boer
berenddeboer
Online Now Send Email
Apr 4, 2007
2:30 am
8188
... That's not really a fetch then, is it? K. -- Blacknight Internet Solutions Ltd. <http://blacknight.ie/> Unit 12A Barrowside Business Park, Sleaty Road,...
Keith Gaughan
keithgaughan
Offline Send Email
Apr 4, 2007
9:00 am
8189
... Errr.. you still get the data. And you're not doing a fetch, are you? You're doing an implicit update of a sequence. -- Nic Ferrier ...
Nic James Ferrier
nferrier_tap...
Offline Send Email
Apr 4, 2007
9:10 am
8190
... Nothing implicit about it. That's an update alright. -- Blacknight Internet Solutions Ltd. <http://blacknight.ie/> Unit 12A Barrowside Business Park,...
Keith Gaughan
keithgaughan
Offline Send Email
Apr 4, 2007
9:24 am
8191
... Your problem is that what you are doing is not really fetch. Problem solved :) That said, if there was no issue with id's getting lost then I see no ...
Jon Hanna
hack_poet
Online Now Send Email
Apr 4, 2007
9:33 am
8192
On 04 Apr 2007 02:10:28 -0700, Nic James Ferrier <nferrier@...> wrote: [snip] ... Often, I find myself in agreement with Nic - but not this...
Alan Dean
alan_james_dean
Offline Send Email
Apr 4, 2007
9:42 am
8193
... An example of a case where GET is arguably not appropriate is "page hit counters". Unfortunately page hit counters can only really be done by GET (unless ...
Jon Hanna
hack_poet
Online Now Send Email
Apr 4, 2007
9:42 am
8194
... It's only inappropriate if you assume that these things are accurate. After all, idempotency doesn't rule out side-effects completely, it just means that...
Keith Gaughan
keithgaughan
Offline Send Email
Apr 4, 2007
10:25 am
8195
... The difference being that a GET can't cause those resources to change in any significant way, but that's not to say that they can't change due to some...
Keith Gaughan
keithgaughan
Offline Send Email
Apr 4, 2007
10:31 am
8196
If you are actually creating identifiers, you could view that as creating a new resource, with an URI. So that seems to be a good fit for: --> POST...
Vidar Larsen
vi_larsen
Online Now Send Email
Apr 4, 2007
1:05 pm
8197
... Neither GET nor POST imply any "unique id" or "sequence number" internals. I'd believe something in a media type would inform the client that the server...
Josh Sled
joshsled
Offline Send Email
Apr 4, 2007
1:17 pm
8198
... Part of my concern about the POST-centric approach is that it is implicit in all the proposals in favour that the POST request has no body (please correct...
Alan Dean
alan_james_dean
Offline Send Email
Apr 4, 2007
1:29 pm
8199
... I see nothing to necessarily disallow a null entity....
Jon Hanna
hack_poet
Online Now Send Email
Apr 4, 2007
1:44 pm
8200
... You are correct, of course, but that wasn't really what I was driving at. An (explicit) empty POST can be regarded as simply shorthand for a non-empty...
Alan Dean
alan_james_dean
Offline Send Email
Apr 4, 2007
1:59 pm
8201
My 2 cents, The resource you are GETting at /numbers/FOO/next can be described as "the next number in the sequence FOO". Thus the GET is idempotent as it ...
Paul James
p4u1j4m3s
Offline Send Email
Apr 5, 2007
7:37 pm
8202
... This is similar to design issues around editing and (especially) mapping mom queues onto HTTP. The problem with GET here is multiple clients, and caches....
Bill de hOra
bdehora
Offline Send Email
Apr 5, 2007
7:46 pm
8203
... Spot on. It's about pragmatism guys. And the pirate code, obviously. -- Nic Ferrier http://www.tapsellferrier.co.uk...
Nic James Ferrier
nferrier_tap...
Offline Send Email
Apr 5, 2007
8:07 pm
8204
... But the notion of "next" implies state. I'm not sure whether you're proposing this state exists on the client or the server. If the latter, though, I think...
Elliotte Harold
elharo@...
Send Email
Apr 8, 2007
7:02 pm
8205
... Here is the interface I finally settled on: POST /numbers/FOO/nextInc returns the next number in the sequence and increments it. GET /numbers/FOO/next...
Eric Busboom
ericbusboom
Offline Send Email
Apr 9, 2007
5:16 am
8206
... I can see your point; it would seem to indicate that what Eric really wants is a non-idempotent verb of his own devising, maybe `ADVANCE`. Pragmatically,...
A. Pagaltzis
a22pag
Offline Send Email
Apr 10, 2007
1:16 am
8207
... I'd briefly thought of that, but would much prefer not to create new verbs, primarily because the REST model involves a limited set of verbs. I'd think...
ericbusboom
Offline Send Email
Apr 10, 2007
2:50 am
8208
... I think it involves a uniform set of verbs; having a limited set is a means, not an end. ... Is verbing nouns as you did better than making new verbs? In ...
A. Pagaltzis
a22pag
Offline Send Email
Apr 10, 2007
5:41 am
8209
Over in Apache Jakarta land, it looks like they are wrapping up the commons projects on the grounds that most of the code was never maintained; its just...
Steve Loughran
steve_loughran
Offline Send Email
Apr 10, 2007
6:14 pm
8210
Thanks for the heads up! I have a strong interest in both client and server components, but haven't followed at all the project organization. I do use the...
Mike Dierken
mdierken
Offline Send Email
Apr 11, 2007
3:16 am
8211
... I think so. ... heh, take a look at how much Java5 and 6 have adapted to support cookies and proxies out the box -and note that the automatic proxy stuff...
Steve Loughran
steve_loughran
Offline Send Email
Apr 11, 2007
8:22 pm
8212
Some resource algebra... Suppose I have two resources X and Y where X is some arbitrary resource and Y is a resource that is a count of the number of GET ...
Chuck Hinson
chucking24
Online Now Send Email
Apr 12, 2007
3:21 am
8213
... It's certainly not very cacheable. -- Nic Ferrier http://www.tapsellferrier.co.uk...
Nic James Ferrier
nferrier_tap...
Offline Send Email
Apr 12, 2007
3:41 am
8214
... As long as you don't depend on Y returning any particular value, sure it's RESTful, just like when you were using two separate resources above. The value...
Keith Gaughan
keithgaughan
Offline Send Email
Apr 12, 2007
8:11 am
Messages 8185 - 8214 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