Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 11, 2020 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/304f816dcfb680c77b421f654e218dfc to your computer and use it in GitHub Desktop.
Save velotiotech/304f816dcfb680c77b421f654e218dfc to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 1 - Consul HTTP API
$ curl localhost:8500/v1/catalog/nodes
[
{
"ID": "ef46ebb7-3496-346f-f67a-30117cfec0ad",
"Node": "devcube",
"Address": "127.0.0.1",
"Datacenter": "dc1",
"TaggedAddresses": {
"lan": "127.0.0.1",
"wan": "127.0.0.1"
},
"Meta": {
"consul-network-segment": ""
},
"CreateIndex": 9,
"ModifyIndex": 10
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment