-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: REST/AtomPub Binding
-
Labels:None
-
Proposal:
The current interface for Query to AtomPub Protocol uses a POST to define the query. This is to allow primarily for longer queries and to simplify expressing complex queries without encoding. This is probably the edge case rather than the most frequent use case. In addition, a POST does not necessarily take advantage of standard web caching techniques and may require more complex set up by the client application to set up the query.
If a GET call were available for expressing queries, this would be able to be constructed easily by client interfaces and results for frequently used queries could be cached. Given the choice between GET queries and POST queries, most applications would probably use the GET interface. A POST would still be needed to handle the edge case of very long queries.