HTTPie
HTTPie CLI: human-friendly HTTP client for the API era
HTTPie is a command-line HTTP client.
Its goal is to make CLI interaction with web services as human-friendly as possible.
HTTPie is designed for testing, debugging, and generally interacting with APIs & HTTP servers.
The http & https commands allow for creating and sending arbitrary HTTP requests.
They use simple and natural syntax and provide formatted and colorized output.
Main 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
- Linux, macOS, Windows, and FreeBSD support
- Plugins
- Documentation
- Test coverage
⚒️ 설치 방법 - macOS
1. Homebrew 설치
Homebrew
The Missing Package Manager for macOS (or Linux).
brew.sh
2. HTTPie 다운로드
Download HTTPie for Desktop – HTTPie
Work locally and without distraction with our dedicated App.
httpie.io
3. Homebrew 명령어 사용하여 HTTPie 설치
# Install httpie
brew install httpie
🔍 HomeBrew ???
- macOS에서 소프트웨어를 쉽게 설치하고 관리할 수 있게 해주는 패키지 관리자
- 터미널에서 명령어 한 줄로 프로그램 설치/업데이트/삭제가 가능하게 해주는 도구
(맥에서는 기본적으로 소프트에어 설치를 앱스토어 or dmg 파일 더블클릭 해야함.)
- 소프트웨어 설치 / 삭제 / 업데이트 / 검색
- 의존성 자동 관리 (필요한 라이브러리 같이 설치)
- 설치 경로를 정리해서 관리 (/opt/homebrew/ 등)
- 시스템 파일 안 건드리고 안정적으로 설치됨
참고 및 출처:
https://www.hahwul.com/2020/11/29/httpie-this-is-a-great-http-tool/
HTTPie, curl을 대체할 만한 강력한 http client
지난주인가요? 트윗보다가 쓸만해보이는 curl 같은 도구를 발견했습니다. 바로 httpie라는 도구인데요, human friendly한 컨셉에 처음부터 약간 호감이였고 설치해서 써보니 이건 물건인 것 같아 공유
www.hahwul.com
GitHub - httpie/cli: 🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors,
🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. - httpie/cli
github.com