Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 732 Bytes

File metadata and controls

33 lines (19 loc) · 732 Bytes

python-httpserver

Easy to use and make fake response over http/https

Just three steps as follows

  • clone this project
git clone http://github.com/tongyy/python-httpserver.git
  • Run build.sh script (This step is for https protocal)
sh buils.sh
  • Run startHttpServer.sh/startHttpsServer.sh/startHttpBasicAuthServer.sh script
sh startHttpServer.sh 

Fake Response

You can put what you want. "res.json,xxx.xml.." in the resource folder, and then your url would be http://localhost:8001/{xxx.xml}