curl 获取API 有时在shell里面会要用到 例如 http://www.a.com/a.asmx/GetB?Id=100&Name=evan API="www.a.com/a.asmx/GetB" result=`/usr/bin/curl -s --connect-timeout 10 -d "Id=100&Name=evan" $API`