Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 842 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 842 Bytes

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