1. 首页
  2. 数据库
  3. 其它
  4. httpmole:HTTP Mole服务 源码

httpmole:HTTP Mole服务 源码

上传者: 2021-04-20 03:35:07上传 ZIP文件 2.66MB 热度 14次
httpmole httpmole提供了一个HTTP模拟服务器,它将充当您的服务中的痣,告诉您http客户端发送给它的所有内容,并响应您希望其响应的任何内容。 就像一个真正的痣。 特征: 使用response-status和response-header快速启动http服务器。 使用response-file通过文本编辑器实时修改响应。 使用response-from作为代理,并可以检查对给定服务的请求/响应。 安装 go install github.com/jcchavezs/httpmole/cmd/httpmole 用法 使用二进制 httpmole -p=8082 -response-status=200 或使用响应文件: httpmole -p=8082 -response-file=./myresponse.json // myresponse.json {
下载地址
用户评论