insomnia-mockbin
insomnia-mockbin copied to clipboard
Hostname specific rules
Hi,
It would be nice to have bins based on hostname and URL. For instance, I have web service myws.com which has method echo. I also have a client which uses the service. The client is configured with hostname of the service.
As part of my integration tests I would like to set ONLY hostname on the client and be able to use mockbin to mock the answers.
integ-test-1.mockbin.com:echo => 200,
This will allow developers to use mockbin with minimal changes of their code.
Henadzi
interesting premise, certainly can see the value there! will add to backlog :+1: