replace the service discovery api in the reademe

This commit is contained in:
believening 2022-01-13 06:30:00 +00:00 committed by GitHub
parent 77550d8341
commit 4d37e75a71
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ Run the following command
* Service discovery
```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

View File

@ -72,7 +72,7 @@
* 服务发现示例
```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'
```
* 推送配置示例