Skip to main content

Consul plugin for HTTPie.

Project description

httpie-consul
=============

Consul plugin for [HTTPie](https://httpie.org/).

It currently provides support for Consul.


Installation
------------

```bash
$ pip install httpie-consul
```

You should now use plugin.


Usage
-----

```bash
$ 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:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for httpie-consul, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size httpie_consul-1.0.2-py3-none-any.whl (2.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size httpie-consul-1.0.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page