API Design · Junior · Question 24 of 75

Where should filtering and sorting options go in a REST request?

Explanation

Query parameters keep the resource URL stable and are cacheable. GET bodies aren't reliably supported by clients and proxies.

Further reading

Problem with a question

API Design · Junior · question 24

Test yourself

Take the API Design · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz