mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 22:34:55 +00:00
commit
f6e042b6f2
@ -136,7 +136,7 @@ In addition to the DNS API, the HTTP API can be used to query services:
|
||||
|
||||
```text
|
||||
$ curl http://localhost:8500/v1/catalog/service/web
|
||||
[{"Node":"agent-one","Address":"172.20.20.11","ServiceID":"web", \
|
||||
[{"Node":"Armons-MacBook-Air","Address":"172.20.20.11","ServiceID":"web", \
|
||||
"ServiceName":"web","ServiceTags":["rails"],"ServicePort":80}]
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user