micromata / http-fake-backend

Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
MIT License
311 stars 22 forks source link

feat: Add support for other response content-types #12

Closed mischah closed 6 years ago

mischah commented 6 years ago

The new option mimeType lets you respond with any file type you want.

Closes #7

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling d26ea69644aa2c37d8b0141202f591087ba7b715 on enable-different-content-types into c1276974499895153b456f1fcb4b43e57bab7840 on master.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 96005cdde16f29fd2af93ec9bc5d8ec21adbf983 on enable-different-content-types into c1276974499895153b456f1fcb4b43e57bab7840 on master.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 8d5aed8ecb54b48976e3b9ec11441a709f98de75 on enable-different-content-types into a379c8caa60ec68f8f9a3f51f89cbd54be3b3b96 on master.