Команда http: опции, ключи и примеры использования
http
HTTPie: HTTP client, a user-friendly cURL replacement.
- Download a URL to a file:
http -d {{example.org}}
- Send form-encoded data:
http -f {{example.org}} {{name='bob'}} {{profile_picture@'bob.png'}}
- Send JSON object:
http {{example.org}} {{name='bob'}}
- Specify an HTTP method:
http {{HEAD}} {{example.org}}
- Include an extra header:
http {{example.org}} {{X-MyHeader:123}}
- Pass a user name and password for server authentication:
http -a {{username:password}} {{example.org}}
- Specify raw request body via stdin:
cat {{data.txt}} | http PUT {{example.org}}
- Как на Bash посчитать число строк в проекте (директории)
- 25 января вышло новое крупное обновление Age of Empires II DE: Lords of the West
- И снова sudo, и снова "решето"
- Только одна из десяти компаний ожидает, что все работники вернутся в офисы
- Google Play временно забанил видео-плеер за поддержку неправильных субтитров