Skip to content

HTTPie

HTTPie for Terminal — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

Features

  • Expressive and intuitive syntax
  • Formatted and colorized terminal output
  • Built-in JSON support
  • Forms and file uploads
  • HTTPS, proxies, and authentication
  • Arbitrary request data
  • Custom headers
  • Persistent sessions
  • wget-like downloads

How to install

$ brew install httpie

Proxy connect

리눅스에서 자주 사용하는 HTTP_PROXY, HTTPS_PROXY, ALL_PROXY 환경변수를 사용해도 되고

INFORMATION

참고로 curl 에서 사용할 때 소문자를 사용한다.

다음과 같이 수동으로 적용해도 된다:

http --proxy=http:http://10.10.1.10:3128 --proxy=https:https://10.10.1.10:1080 example.org

프록시 서버가 필요하다면 Mitmproxy를 사용하자.

See also

Favorite site