simile-http prevents an emulated service from calling real third parties while still letting a
test prove that an outbound integration was invoked correctly.
Expectations
An expectation defines:- an identity, method, and exact URL;
- required request headers;
- an optional exact JSON body;
- the local response to return; and
- an optional number of times it may match.
501 response with the public
code unexpected_request.