Created
June 11, 2020 08:57
-
-
Save velotiotech/304f816dcfb680c77b421f654e218dfc to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 1 - Consul HTTP API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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