Created
March 10, 2019 08:10
-
-
Save pranavcode/c78d6a2d9787394cd35ebfd3ea457843 to your computer and use it in GitHub Desktop.
Velotio - HashiCorp Consul Part 1 - Consul HTTP API
This file contains hidden or 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