oh-my-mock icon indicating copy to clipboard operation
oh-my-mock copied to clipboard

Filter by body content

Open Hooch180 opened this issue 2 years ago • 1 comments

Hi, I have to mock some services. But all requests are going to a single endpoint. They only differ by body content. Can you filter requests by body content?

Hooch180 avatar Sep 23 '22 06:09 Hooch180

Thanks for the suggestion, this looks interesting. I'll add this feature to my TODO list.

I think the impact is big, because a user will have the possibility to have multiple mocks for a single response based on the body request. Meaning I need to redesign my UI a bit. If you have suggestions I'm all ears!

Anyway, in the mean time you can already do what you want (more or less) with "Mocking with code"

image

Hope this will solve your issue in the mean time, cheers

scaljeri avatar Sep 23 '22 08:09 scaljeri