commit | 03a4eb154fe2aa2bcfb2fafb195b882652c16d15 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Wed Aug 18 16:46:21 2021 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Wed Aug 18 18:25:05 2021 +0200 |
tree | df934c7fc942ac252a8418ab3acb7118270a8e7c | |
parent | 33b0d095ccb0cc3a564793b22c3e34b5e94cbbc0 [diff] |
MINOR: httpclient/cli: implement a simple client over the CLI This commit implements an HTTP Client over the CLI, this was made as working example for the HTTP Client API. It usable over the CLI by specifying a method and an URL: echo "httpclient GET http://127.0.0.1:8000/demo.file" | socat /tmp/haproxy.sock - Only IP addresses are accessibles since the API does not allow to resolve addresses yet.