Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3630

How to send a huge parameter list to a GET request

$
0
0

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?


Viewing all articles
Browse latest Browse all 3630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>