httpie - http 交互式访问工具

date
May 19, 2022
slug
tip-
status
Published
summary
小技巧
tags
tip
type
Post
URL
notion image
notion image

Problem & Summary

Solution

  • 也可以下载Mac Client
    notion image
    apt install -y httpie
    brew install httpie
    
    https httpie.io/hello
    
    
    http PUT pie.dev/put X-API-Token:123 name=John
    
    http -f POST pie.dev/post hello=World
    
    # Download a file and save it via redirected output:
    http pie.dev/image/png > image.png
    
    # Download a file wget style:
    http --download pie.dev/image/png

    Screenshots

     
     

    © Ying Bun 2021 - 2022