linux 模拟post请求
curl -X POST \ -H "Content-Type: application/json" \ -H "token:GXJP1clw4vNMxPbuf0vCRoL9" \ --data '{"aa":5,"bb":"11","cc":4}' \ -v 127.0.0.1:9700/test-project/getInfo
linux 模拟https post请求
curl -k --insecure -X POST \
-H "Content-Type: application/json" \
-H "token:GXJP1clw4vNMxPbuf0vCRoL9" \
--data '{"aa":5,"bb":"11","cc":4}' \
-v "https://127.0.0.1:9700/test-project/getInfo"