使用curl带参数POST接口

curl -X POST \
http://127.0.0.1:8080/createCategory \
-H 'content-type: application/json' \
#多个header
-H "x-namespace-code:uma-qa" \
-H "X-MicroService-Name:uma-shop-api-web-gray1" \
 -d '{
参数
 
 
}'

猜你喜欢

转载自blog.csdn.net/weixin_45577002/article/details/119039856
今日推荐