Open tommcintyre opened 8 years ago
Hi,
My use case is to mock a POST API. I discovered by reading the code that this requires sending the "mock-method" header when setting up the mock API, e.g. via the -H option to curl:
curl -v -XPOST -H 'mock-method: POST' -d @my_response.json http://localhost:3000/mock/path/to/my/api
So it would be good to add this to the README.
Hi,
My use case is to mock a POST API. I discovered by reading the code that this requires sending the "mock-method" header when setting up the mock API, e.g. via the -H option to curl:
curl -v -XPOST -H 'mock-method: POST' -d @my_response.json http://localhost:3000/mock/path/to/my/api
So it would be good to add this to the README.