ng-apimock
ng-apimock copied to clipboard
Runtime: Programmatically select response/selection from mock
Hi,
I have a mock file defining a set of responses. I would like to be able to select programmatically, when I implement my own middleware/interceptor, based on the request signature, a certain response from the mock definition.
It's not clear whether that is possible.
Regards, Lucian