爱意满满的作品展示区。
irainy

交互式命令行工具: HTTP & REST Client

  •  
  •   irainy · Oct 27, 2015 · 3127 views
    This topic created in 4026 days ago, the information mentioned may be changed or developed.
    Supplement 1  ·  Oct 27, 2015

    主要特征:

    • 自动保存当前测试的 protocol//hostname , GET/POST 方法,不需要每次测试都输入
    http POST https://example.com/api/v1/do/action name=value
    

    而只需要:

    /api/v1/do/action name=value
    
    • pretty JSON (& JSON only)
    • JSON 结果的缺省展示 (it command)
    6 replies  •  2015-10-27 17:55:41 +08:00
    FrankFang128
    FrankFang128
    Oct 27, 2015
    1
    试试 httpie?
    irainy
    irainy
    OP
    Oct 27, 2015
    2
    @FrankFang128 功能设计的时候实际上就是参考 httpie 的,但我的想法是基本上我们测试 API 都是针对同一 host ,用的时候也可以更直观:

    ```
    GET /orgs/octokit/repos
    ```
    anthozoan77
    anthozoan77
    Oct 27, 2015
    3
    star ,学习 :)
    irainy
    irainy
    OP
    Oct 27, 2015
    4
    @anthozoan77 刚刚开始写,欢迎一起来~
    anthozoan77
    anthozoan77
    Oct 27, 2015
    5
    @irainy 可以可以。行胜于言
    fhefh
    fhefh
    Oct 27, 2015
    6
    mark~~~
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1302 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 83ms · UTC 22:22 · PVG 06:22 · LAX 14:22 · JFK 17:22
    ♥ Do have faith in what you're doing.