Take the 2-minute tour ×  I am designing a RESTful API. One
Service should offer a query functionality for multiple key-
value pairs. For example the Client can query with one HTTP GET
request for different products and the belonging quantity.
Example: The Client wants to query product 1 with the amount 44
AND product 2 with the amount 55. So how can I design my URI for
this case? I actually don't want my URI to look like, cause I
don't know how many products are queried:   or like, because how
can the client know, that before the comma there is the
productId and after the comma the quantity:   Does anyone have
got other solutions or isnt't it RESTful to offer the
possibility to query multiple products with one request? Is it
maybe better to offer the possibility to query just one product
with the belonging quantity and if the client whants to query
more products, he actually should send more requests...?
share|improve this question what would be wrong with putting the
query information into a http-post? – 