关于windows使用curl

1. win+r打开cmd

2. post请求方式:

curl -d "[参数]" http://localhost:8080/discovery/get?serviceName=example

 

 

get请求方式:

curl http://127.0.0.1:8848/nacos/v1/ns/instance?serviceName=example&ip=12.7.0.0.1&port=8080

posted @ 2023-01-31 15:12  bug_maker_king  阅读(118)  评论(0)    收藏  举报