/mock-man

a simple local json http mock tool

MIT LicenseMIT

Welcome to mock-man 👋

Version Documentation License: MIT

a simple local json http mock tool executable

Install

windows

  • download the latetes zip package, and unzip it

  • switch the folder ,open the cmd , and input the cmd as follows

    .\mock-man.exe

    windows 7 is not supported.

  • if you can see as follows, it starts success img.png

mac

  • download the latetes zip package, and unzip it

  • do other steps like windows

  • if you run the startup cmd, you may get

    img_2.png

  • please agree the trust mock-man app in the mac Privacy & Security settings

    the mock-man have been tested in the amd mac pc.

Usage

start server

if you use windows, run

.\mock-man.exe

you can also view the start options use -h

config request

when the server started,if the port is 8000, you can visit the http://127.0.0.1:8000/ui to config the request

if match_method is ALL, it means the req body json should full match
if match_method is ANY, it means that any req body will match success if the ant url matches

visit the http endpoint

after you have add a simple api endpoint(/boy), you can visit the localhost:8000/boy as follows img_1.png

Author

👤 cxiaoer

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator