141 reputation
3
bio website
location Canada
age 31
visits member for 3 years, 1 month
seen Aug 7 at 3:26

Mar
29
comment How do searches fit into a RESTful interface?
Obviously, query parameters are the best solution, but your question specifically asks about how to deal with filter definitions longer than the limit on URLs imposed by some servers. In order to work around length limit you will either need to compress the query string somehow or you need to use a request method which supports specifying a body of arbitrary length. If you don't want to treat filters as a resource, just support a non-restful interface where filter definitions are POSTed. You will lose cacheability, but if you're data is volatile enough it wouldn't benefit from caching anyway.
Mar
27
awarded  Editor
Mar
27
revised How do searches fit into a RESTful interface?
Edited to mention that a 303 status code for redirecting to a filtered jobs collection might be preferable to a 302.
Mar
27
answered How do searches fit into a RESTful interface?
Feb
27
comment How to write camel case for words like “phonenumber”, “motorcycle”, “wavelength”, etc
Is there a bikeshedding tag? It's funny that questions like this always end up in the newsletter because everyone has an opinion, not necessarily because it's a good or interesting question.
Feb
25
answered Many small classes vs. logical (but) intricate inheritance
Oct
9
awarded  Supporter
Sep
19
answered Why would one bother marking up properly and semantically?
May
2
answered Completion time on a company where the supervisors don't know programming
Jan
6
awarded  Teacher
Jan
5
answered Years experience over unfinished degree?