Could we create the same GET URI but with different query parameters?
For example, I have two REST GET URIs:
/questions/ask/?type=rest
/questions/ask/?byUser=john
Now the REST service is not recognizing two GET methods as separate and considering it only 1 GET method which is declared as first.
- Why is it behaving this way?
- Is there any way that I could make two GET methods having different Query Parameters?
It would be highly appreciated if you could quote any resource.