1.查看consul的服务列表
curl 127.0.0.1:8500/v1/agent/services
2.删除consul上已经注册的节点
curl --request PUT http://127.0.0.1:8500/v1/agent/service/deregister/服务id
3.查看consul上某个服务的健康状态
curl http://localhost:8500/v1/health/service/服务名
1.查看consul的服务列表
curl 127.0.0.1:8500/v1/agent/services
2.删除consul上已经注册的节点
curl --request PUT http://127.0.0.1:8500/v1/agent/service/deregister/服务id
3.查看consul上某个服务的健康状态
curl http://localhost:8500/v1/health/service/服务名