Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

active mock by response status code #147

Open
eddhib opened this issue Jun 3, 2023 · 1 comment
Open

active mock by response status code #147

eddhib opened this issue Jun 3, 2023 · 1 comment

Comments

@eddhib
Copy link

eddhib commented Jun 3, 2023

Hi , Is there a way to activate the response cache only for StatusCode 200, I find that it is useless to mock the 500 or 404 responses for my case
thanks

@scaljeri
Copy link
Owner

scaljeri commented Jun 6, 2023

So, if I understand you correct, you want OhMyMock to only pick up 200 responses from the api/backend (and activate) while ignoring all the others?

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

No branches or pull requests

2 participants