gstroup / apimocker

node.js module to run a simple http server for mock service responses.
MIT License
280 stars 81 forks source link

Allow HTTP status to be updated from /admin/setMock #76

Closed jordanhamill closed 7 years ago

jordanhamill commented 7 years ago

This parses httpStatus from the setMock parameters to allow changing it on the fly.

gstroup commented 7 years ago

Thanks for the PR, and especially for including a test. This looks useful and straightforward. I'll merge it in soon. Thank you.