[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to do RESTful SEARCH (was Re: Adding POST capability to atom:link)
On 11/2/06, Lisa Dusseault <lisa@xxxxxxxxxxxxxxxxx> wrote:
This is an interesting assertion about REST. I don't yet agree with it as
stated though I might after further discussion and elaboration. To provide
a possible counter-example, I always found the HTTP SEARCH proposal
<http://www.greenbytes.de/tech/webdav/draft-reschke-webdav-search-latest.html>
to be RESTful because
- The results of a search are returned as a set of resource identifiers
I'm not sure exactly what you mean by that Lisa, but AFAICT, the
results of a SEARCH request does not have an identifier.
A RESTful solution would be publish a form that could be used by a
client to construct a URI that would return the search results (with
GET, of course).
Cheers,
Mark.