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 11097 - 11126 of 14029   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
11097
Hi, I'm creating a RESTful web service (actually AtomPub). ../projects/ returns an Atom feed ../projects/{project} returns an Atom entry with a DOAP...
Erling Wegger Linde
erlingwl
Offline Send Email
Aug 2, 2008
10:59 am
11098
Erling, You could simply encode the doap:homepage address, e.g. .../projects/http%3A%2F%2Fexample%2Ecom%2Fprojectname or if you prefer something more opaque,...
Alan Dean
alan_james_dean
Offline Send Email
Aug 2, 2008
11:40 am
11099
For my AtomPub client (which tries to be a RESTful web service itself; it's kind of a proxy that bridges application/x-www-form-urlencoded and ...
Brendan Taylor
whateley@...
Send Email
Aug 2, 2008
7:10 pm
11100
... Aah, I hadn't thought about that - keep it simple =) ... That keeps the urls a bit shorter, which is good, but I'm wondering, can a client deduce the...
Erling Wegger Linde
erlingwl
Offline Send Email
Aug 2, 2008
7:32 pm
11101
... Hi, Thanks for the example, I don't think that would work so good for my service as I would like to have URLs like projecs/{project-url}/repositories ...
Erling Wegger Linde
erlingwl
Offline Send Email
Aug 2, 2008
7:34 pm
11102
Erling, ... No, in general they cannot. Most hash functions are intended to be preimage-resistant, which means that one of their goals is that given hash(X)...
Justin Sheehy
macsithigh_f...
Offline Send Email
Aug 2, 2008
7:51 pm
11103
... That is what I suspected. I'll start with encoding my URLs with the application/x-www-form-urlencoded MIME format then. Thanks a lot guys, - Erling ... --...
Erling Wegger Linde
erlingwl
Offline Send Email
Aug 3, 2008
10:08 am
11104
I got asked an interesting question a while back, for which I did not have a snappy answer - why aren't html forms a basis for an API? Other than the early...
Bill de hOra
bdehora
Offline Send Email
Aug 3, 2008
10:07 pm
11105
... Bill> I got asked an interesting question a while back, for which I Bill> did not have a snappy answer - why aren't html forms a basis Bill> for an API?...
Berend de Boer
berenddeboer
Online Now Send Email
Aug 3, 2008
10:32 pm
11106
I guess I am puzzled by the question a bit. An HTML form is just a server-supplied hypermedia, and I don't see how the form itself can be an API. Does it...
Subbu Allamaraju
sallamar
Online Now Send Email
Aug 3, 2008
11:26 pm
11107
I always thought it was because (in REST terms) the <form method=""> can only be GET or POST. Alan...
Alan Dean
alan_james_dean
Offline Send Email
Aug 3, 2008
11:30 pm
11108
... Because forms are expressed using HTML, and HTML deals with presentation and content, which is clearly different from what APIs are about. Now, before we...
Assaf Arkin
assafarkin
Offline Send Email
Aug 3, 2008
11:53 pm
11109
... here's that 15-minute exercise: http://blog.labnotes.org/2007/08/16/the-simple-publishing-protocol/ Assaf...
Assaf Arkin
assafarkin
Offline Send Email
Aug 3, 2008
11:56 pm
11110
Better than "API" is a scheme to populate certain well known form fields, as they do in [1]. I always thought Atompub should have done that [2]. [1]...
Hugh Winkler
hwinkler99
Offline Send Email
Aug 3, 2008
11:58 pm
11111
... Oh, I think that's what you meant by "well known query params". Well, I can't say why there hasn't been more uptake, but my browser does know how to...
Hugh Winkler
hwinkler99
Offline Send Email
Aug 4, 2008
12:09 am
11112
... Blog entries consist of up to 4 or so unstructured text blobs. That’s not very hard to do with `application/x-www-url-encoded`. For data that’s...
Aristotle Pagaltzis
a22pag
Offline Send Email
Aug 4, 2008
10:12 am
11113
... When the query params are well known, what do you need the form for? You really only need an annotated link, like a `rel` attribute on a generic link...
Aristotle Pagaltzis
a22pag
Offline Send Email
Aug 4, 2008
10:25 am
11114
... Easy integration with a lot of deployed software. ... And also the essence of opensearch, if I understand you properly. ... My suspicion is that it's to a...
Bill de hOra
bdehora
Offline Send Email
Aug 4, 2008
1:01 pm
11115
... This is one thing I'm wondering about - the tradeoff between domain specific posting protocols and a generic carries-anything one like AtomPub. It seems in...
Bill de hOra
bdehora
Offline Send Email
Aug 4, 2008
1:09 pm
11116
... If you mean that browsers are the deployed software, true, and that's the intent of hypermedia where the server itself is providing the forms. Once the...
Subbu Allamaraju
sallamar
Online Now Send Email
Aug 4, 2008
2:42 pm
11117
... If it already exists and is widely used, why not extract it? I think it would be closer to microformats: looking at common use cases that are already out...
Assaf Arkin
assafarkin
Offline Send Email
Aug 4, 2008
3:47 pm
11118
... Indeed forms cannot solve all the problems, but they do solve a large number of problems very well. That's how I understood Bill's question, and the...
Assaf Arkin
assafarkin
Offline Send Email
Aug 4, 2008
3:58 pm
11119
Hi all, I'm curious to know what are doing to allow clients to request different views of a resource? For example, say I had this resource: /team/cubs I'd...
Griffin Caprio
griffinc18
Online Now Send Email
Aug 4, 2008
5:02 pm
11120
... These are different representations of the same resource, and this use case is better addressed via content negotiation (i.e. via Accept headers). You may...
Subbu Allamaraju
sallamar
Online Now Send Email
Aug 4, 2008
5:17 pm
11121
... Do both. When the parameter is present, use it to select the media type. When it is not, then fall back to standard conneg. A reasonable way to think...
Justin Sheehy
macsithigh_f...
Offline Send Email
Aug 4, 2008
5:21 pm
11122
... If you have time, I agree with Justin, and ideally you define a ladder (as some frameworks do for making locale decisions). HTTP Accept doesn't always...
Bill de hOra
bdehora
Offline Send Email
Aug 4, 2008
5:27 pm
11123
On Aug 4, 2008, at 12:27 PM, Bill de hOra wrote: Bill, ... This is interesting. Do you remember where you heard this? - Griffin...
Griffin Caprio
griffinc18
Online Now Send Email
Aug 4, 2008
6:20 pm
11124
... Another reason, if you have a CSV (or JSON or XML or whatever) view and you know the URL you can check out the output with your Web browser (or curl or...
Assaf Arkin
assafarkin
Offline Send Email
Aug 4, 2008
6:25 pm
11125
one thing to keep in mind is that the 'parameterized' URLs are now new items in any cache. That means *invalidating* the /team/cubs?view=csv URL will not...
mike amundsen
mamund
Offline Send Email
Aug 4, 2008
6:33 pm
11126
... How do you do that? Assaf...
Assaf Arkin
assafarkin
Offline Send Email
Aug 4, 2008
6:36 pm
Messages 11097 - 11126 of 14029   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