shell脚本发送多种curl命令
for id in {1..5}
do
sh -c 'curl -l -H "Content-type: application/json" -X POST "http://127.0.0.1:8909/common/amethod?visitId=1874747&visitNum=1279367¶mCode=123"' &
echo "\nstart $id:1"
sh -c 'curl -l -H "Content-type: application/json" -X POST "http://127.0.0.1:8909/common/bMethod?presNo=3549093¶mCode=123"' &
echo "\nstart $id:2"
sh -c 'curl -l -H "Content-type: application/json" -X POST "http://127.0.0.1:8909/common/cMethod?presNo=3549094¶mCode=123"' &
echo "\nstart $id:3"
done