<div>I&#39;m trying to implement a RestfulHandler to handle search based on a variable set of query fields.</div><div><br></div><div>E.g.:<br></div><div>&lt;path: &#39;/api/orders/search?field1=..&amp;field2=...&#39;&gt;</div><div><br></div><div>The problem is I don&#39;t know the list of fields beforehand, maybe in one request I&#39;ll get both field1 &amp; field2, but in others just field1, and/or fieldN.</div><div><br></div><div>Given the fact that the methods need to have as many parameters as the predefined parameters in the path pragma, I couldn&#39;t find a way to define a path to match both a request with or without query fields.</div><div><br></div><div>something like:</div><div>&lt;path: &#39;/api/orders/search[?queryString]&#39;&gt;<br></div><div><br></div><div>Is there a way to this?</div><div><br></div><div><br></div>