I have a REST API in my server, where the List operation (that should be implemented using the GET method) receives multiple parameters from the client:
- The current page
- The number of rows
- A text for performing a quick search
- An object that defines a complex filter for the search (set of rules in the form 'field op value')
Due to this complex object for filtering the search, I need to define the List as POST, what I think that it's not a good idea, as REST defines the list operation as GET.
My question is simple: there exists any way to solve this using a GET method, avoiding to call it with an huge URL with parameters?