Created
July 9, 2015 13:47
-
-
Save technovangelist/ca8b01692459776d668f to your computer and use it in GitHub Desktop.
Getting HTTPie working on the mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Go to https://github.com/jkbrzt/httpie to get the full instructions on its use | |
2) Install it: brew install httpie | |
3) If you are on a Mac and have not upgraded your Python version install other stuff: | |
pip install --upgrade pyopenssl pyasn1 ndg-httpsclient | |
(I have the new 15" MBP with force touch trackpad so its as new as they get and I had to install this) | |
4) Use it.... | |
If trying to use this to look at Docker Stats API, the command to use is going to be: | |
http --stream –f --verify=no \ | |
--cert=$DOCKER_CERT_PATH/cert.pem \ | |
--cert-key=$DOCKER_CERT_PATH/key.pem \ https://<IP Address of docker machine>:<Port of docker machine>/containers/<ID of container>/stats |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment