rest - RESTful URL design - how to query using OR parameters -


how design restful query support or , and operand between parameters. let's resource has 3 fields field1 & field2 &field3. how design url enable following query:

"get myresources field1=x or field2=y , field3=z" 

i encode normal form (eg. cnf) of relation between fields somehow. example:

http://myurl.com/get_myresources?field1=x&field2=y&field3=z&relationcnf=1or2and3 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -