For a client I had to build a result page with filters. Visitors could filter the results based on five properties. I wanted to make the result reachable by URL so I choose for the GET method. This way, a link could look like:
The problem I had was that even when some filters were left empty they would still show up.
Check out this answer on Stack Overflow for a working example: https://stackoverflow.com/a/64029534/9055081