http snap packages httpie, with unix socket support so it can talk to snapd as well.
To get the new version please install from the
candidate channel (
snap install --candidate http).
I’ve tested it on Ubuntu 16.04 and it works. I’d appreciate testing on Arch, Fedora, and Ubuntu 18.04. As it’s python, if you have a not-mainly-ASCII locale I’d appreciate that as well.
What to test:
- GET json HTTP api:
http http://ip.jsontest.com/. Output should be pretty-printed and colorized.
- Same but HTTPS:
http https://jsonplaceholder.typicode.com/todos/1for ex.
- GET snapd api:
- POST snapd api:
sudo http snapd:///v2/snaps/bofh action=install
|distro||http GET||https GET||snapd GET||snapd POST|
|Ubuntu 16.04 (classic)|