nitter
Felix Müller
@fmueller_bln
9 Feb 2016
How to model search API in rest world? Using get or put verb? Search query is in the request body as json object.
8
Stefan Tilkov
@stilkov
9 Feb 2016
Replying to
@fmueller_bln
@fmueller_bln
As a general principle, a search should be done via GET. There are exceptions.
Feb 9, 2016 · 4:14 PM UTC
1
1
Eberhard Wolff
@ewolff
9 Feb 2016
Replying to
@stilkov
@stilkov
@fmueller_bln
how do you deal with the URL size limit?
1
1
Stefan Tilkov
@stilkov
9 Feb 2016
@ewolff
@fmueller_bln
As I said, exceptions. Most of the time, the limit (4-8k these days) won’t bite you. It if does, switch to PRG pattern
1
more replies