分享一个用 Go 写的 HTTP 请求捕获和调试工具,适合用来调试 webhook 、API 接口等场景。
# 一键安装
curl -fsSL https://raw.githubusercontent.com/funnyzak/reqtap/main/scripts/install.sh | bash
# 启动服务(默认端口 38888 )
reqtap
# 测试
curl -X POST http://localhost:38888/webhook \
-H "Content-Type: application/json" \
-d '{"message": "Hello"}'
GitHub: https://github.com/funnyzak/reqtap
欢迎 Star 和提 Issue !
1
skusdk 29 天前
为啥配置转发转发服务器地址,没有返回数据,总是返回一个 ok
|