Skip to content

ar4s/httpie-consul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpie-consul

Travis (.org) PyPI PyPI - Python Version PyPI - License

Consul plugin for HTTPie.

It currently provides support for Consul.

Installation

    $ pip install httpie-consul

You should now use plugin.

Usage

    $ http service://my-fancy-service/
    HTTP/1.1 200 OK
    Connection: keep-alive
    Content-Length: 32

    Response from My Fancy Service!

You can also configure plugin by environment variables:

    $ export CONSUL_HOST=consul.local
    $ export CONSUL_PORT=80
    $ export CONSUL_SCHEME=https