Skip to content

jogjacamp/httpie-kazoo-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpie-kazoo-auth

2600hz kazoo auth plugin for HTTPie

Installation

$ pip install httpie-django-auth

You should now see kazoo under --auth-type in $ http --help output.

Usage

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

License

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]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages