codeframe

HTTPie is a CLI, cURL-like tool for humans

  •  
  •   codeframe · May 8, 2013 · 5121 views
    This topic created in 4928 days ago, the information mentioned may be changed or developed.
    公司提供了一些接口给SP调用,用普通的HTTP Post请求就可以了。可有家公司的开发死活不明白,非得我们提供一下Post请求的报文做例子。自己用惯了Requests这种高级玩意,竟然一下就懵了。匆忙查了一下Requests的文档,也只能看到分开来的headers和body。还好想起 HTTPie 这个工具(使用了Requests)。

    使用 --verbose 就能将原始的请求和响应报文打印出来了。
    http --verbose httpie.org

    项目地址:https://github.com/jkbr/httpie


    PS:不知道大家都用些什么工具干这种事?
    4 replies  •  2016-06-01 19:36:51 +08:00
    ericFork
    ericFork
    May 8, 2013
    1
    curl
    duhastmich
    duhastmich
    May 8, 2013
    2
    curl其实很好用
    Kai
    Kai
    Jun 14, 2014
    3
    今天才在 HN 上面看到
    sunnyhust2005
    sunnyhust2005
    Jun 1, 2016
    4
    有没有图形化的 Httpie 工具啊?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5472 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 03:16 · PVG 11:16 · LAX 19:16 · JFK 22:16
    ♥ Do have faith in what you're doing.