I would like to know, following the RESTful best practices, how I should define the URL as follows:
/people?q="email=aa@aa.com||phone=11111"
The bottom line is to search for a person by their email address or phone, depending on what they have inserted in the search field.
I read a few guides on best practices for using RESTful services, but no one talks about this situation.
source
share