Skip to content

python httpserver to mock http api server before you have a real one

Notifications You must be signed in to change notification settings

caojianfeng/vnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vnet

python httpserver to mock http api server before you have a real one

##using 1 start server by run python vnet.py 2 place you json file(ex:"animation") under webbase/gets/v3/app/android/phone/

then you can get http response from http://[your_host:your_port]/v3/app/android/phone/animation

很多情况下,服务器开发慢吞吞的,等不及啦,需要自己调试一下。怎么办?

##使用说明 1 启动脚本:python vnet.py 2 自己写个json文件放到目录webbase/gets/v3/app/android/phone/

这样你就能通过http://[your_host:your_port]/v3/app/android/phone/animation访问这个脚本啦

[email protected] https://github.com/caojianfeng/vnet

About

python httpserver to mock http api server before you have a real one

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages