I want to send GET request to v1/users endpoint, where as params I want to specify that I want to do ordering by priority DESC and status ASC.
As you can see I want to send params that will map to SQL WHERE parts:
SELECT * FROM table WHERE something ORDER BY priority DESC, status ASC
How I am supposed to specify as params in my HTTP request that I want this sorting ? I think that in order to do this I need to send JSON data in POST request. But that is a problem, because I want GET request not POST. post/users means create user, and I want to get users.
Am I missing something ?