首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX
›
分享发现
HTTPie is a CLI, cURL-like tool for humans
codeframe
·
2013-05-08 16:28:21 +08:00
· 3745 次点击
这是一个创建于 4186 天前的主题,其中的信息可能已经有所发展或是发生改变。
公司提供了一些接口给SP调用,用普通的HTTP Post请求就可以了。可有家公司的开发死活不明白,非得我们提供一下Post请求的报文做例子。自己用惯了Requests这种高级玩意,竟然一下就懵了。匆忙查了一下Requests的文档,也只能看到分开来的headers和body。还好想起 HTTPie 这个工具(使用了Requests)。
使用 --verbose 就能将原始的请求和响应报文打印出来了。
http --verbose httpie.org
项目地址:https://github.com/jkbr/httpie
PS:不知道大家都用些什么工具干这种事?
Requests
verbose
post
4 条回复
•
2016-06-01 19:36:51 +08:00
1
ericFork
2013-05-08 18:01:08 +08:00
curl
2
duhastmich
2013-05-08 21:08:10 +08:00
curl其实很好用
3
Kai
MOD
2014-06-14 21:33:20 +08:00
今天才在 HN 上面看到
4
sunnyhust2005
2016-06-01 19:36:51 +08:00
有没有图形化的 Httpie 工具啊?
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
2929 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 653ms ·
UTC 13:33
·
PVG 21:33
·
LAX 06:33
·
JFK 09:33
Developed with
CodeLauncher
♥ Do have faith in what you're doing.