ldabiralai/simulado

No documentation for resetting the mocks

Closed this issue · 2 comments

This is more of a reminder for myself than anything, there is no documentation in the README on how to reset the mocks.

Looked at the source code and a DELETE /reset seemed to have done the job, will try to update later.

POST to /reset will do it
If you POST a body of { "path": path, "method": http_method } then it will only reset that particular mocked endpoint.

This will be solved in Version 3