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
```
=============
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
httpie-consul-1.0.2.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file httpie-consul-1.0.2.tar.gz
.
File metadata
- Download URL: httpie-consul-1.0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eafc032dbeab90e85d001266d90b410aa711d042846e6a708aa25fd6d1f2aff7 |
|
MD5 | d7c7d3e08360b5f9a4d0e5e52e647161 |
|
BLAKE2b-256 | d64364b94abd140174cb0749fbf20f9b7c63b06c93d1d71f2251078a5980708e |
File details
Details for the file httpie_consul-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: httpie_consul-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f462304c29c271996e43e8c6366c51828f11300cf92489e2fcde2e419e98bed |
|
MD5 | c16d300c11372a86a19cd68dbfa8c01a |
|
BLAKE2b-256 | bf73f6517c98418a3c10351ddbe4bf3d65f4dbf14e0c1dee82df03f48012c6dd |