2600hz kazoo auth plugin for HTTPie
$ pip install httpie-django-auth
You should now see kazoo
under --auth-type
in $ http --help
output.
By default httpie-kazoo-auth uses /v2/api_auth to get kazoo auth token. If you need to use some other url, set HTTPIE_KAZOO_AUTH_URL environment variable.
export HTTPIE_KAZOO_AUTH_URL='/login/'
Make requests to your site
$ http --auth-type=kazoo --auth='username:password' telco.id
$ http -A=kazoo --auth='username:password' telco.id
$ http -A=kazoo --auth='username:password' telco.id/profile
$ http -A=kazoo --auth='username:password' http://127.0.0.1:8000/profile
See LICENSE.txt
This project inspired and using some files taken from httpie-kazoo-auth
by (Chillar Anand)[https://github.com/ChillarAnand/httpie-django-auth]