Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

query parameters return a different mocked response #20

Open
kolawarsunil opened this issue Feb 12, 2016 · 0 comments
Open

query parameters return a different mocked response #20

kolawarsunil opened this issue Feb 12, 2016 · 0 comments

Comments

@kolawarsunil
Copy link

Is there a way we can add functionality to return a different response if a query parameter is added to a request.
For ex:
/customers
returns all customers order by the name in ascending order

/customer?order=desc
returns all customer ordered in descending order. (actually it just returns mocked response afetr findin a query parameter attached).

can we do something in setting up the mocks and save it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant