Print

Print


Dear all,

If you ever created a REST API, you might run into the problem,
whether searching should be implemented via GET or POST methods. There
are lots of debate around this supported by different theoretical
considerations.

Maybe these debates will be ceased soon, because last week Julian
Reschke, Ashok Malhotra and James M. Snell submitted an RFC proposal
"HTTP SEARCH Method" to Internet Engineering Task Force (IETF) for
creating a new method, called "SEARCH" in HTTP 1.1. According to the
proposal there will be an "Accept-Search" response header field as
well to notify clients, that a given server supports the new method.

An example:

A SPARQL query:

     SEARCH /contacts HTTP/1.1
     Host: example.org
     Content-Type: text/query
     Accept: text/csv

     select surname, givenname, email limit 10

The full document is available here:
http://www.ietf.org/id/draft-snell-search-method-00.txt

Regards,
Peter


-- 
Péter Király
software developer

Göttingen Society for Scientific Data Processing - http://gwdg.de
eXtensible Catalog - http://eXtensibleCatalog.org