官网地址:https://developer.hashicorp.com/consul
API文档地址:https://developer.hashicorp.com/consul/api-docs
现在,我们手动注册一个服务,这里我用docker开启了consul的容器
在postman里,设定一个Put请求,然后设置header的key:Content-type ,value:application/json
然后绑定参数
官网地址:https://developer.hashicorp.com/consul
API文档地址:https://developer.hashicorp.com/consul/api-docs
现在,我们手动注册一个服务,这里我用docker开启了consul的容器
在postman里,设定一个Put请求,然后设置header的key:Content-type ,value:application/json
然后绑定参数