82

GitHub - rs/curl-httpie: HTTPie for curl

 5 years ago
source link: https://github.com/rs/curl-httpie
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

HTTPie for curl

If you like the interface of HTTPie but miss the features of curl, curl-httpie is what you are searching for. Curl-httpie is a drop-in replacement for httpie that use curl to perform operations. All curl options exposed with most syntax sugar and output formatting provided by httpie.

Install

Using homebrew:

brew install rs/tap/curl-httpie

Usage

Hello World:

$ http httpie.org

Synopsis:

$ http [curl options] [METHOD] URL [ITEM [ITEM]]

See HTTPie doc for more examples.

Differences with httpie

  • Like curl but unlike httpie, headers are written on stderr instead of stdout.
  • Output is not buffered, all the formatting is done on the fly so you can easily debug streamed data.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK