Merge pull request #231 from believening/master
replace the service discovery api in the reademe
This commit is contained in:
commit
4f9cdce70b
@ -78,7 +78,7 @@ Run the following command:
|
|||||||
* Service discovery
|
* Service discovery
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
curl -X GET 'http://127.0.0.1:8848/nacos/v1/ns/instances?serviceName=nacos.naming.serviceName'
|
curl -X GET 'http://127.0.0.1:8848/nacos/v1/ns/instance/list?serviceName=nacos.naming.serviceName'
|
||||||
```
|
```
|
||||||
|
|
||||||
* Publish config
|
* Publish config
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
* 服务发现示例
|
* 服务发现示例
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
curl -X GET 'http://127.0.0.1:8848/nacos/v1/ns/instances?serviceName=nacos.naming.serviceName'
|
curl -X GET 'http://127.0.0.1:8848/nacos/v1/ns/instance/list?serviceName=nacos.naming.serviceName'
|
||||||
```
|
```
|
||||||
|
|
||||||
* 推送配置示例
|
* 推送配置示例
|
||||||
|
Loading…
Reference in New Issue
Block a user