[size=large]形如:
curl -H 'HTTP头' -d '请求XML' 接口地址
例:
curl -H'Content-Type: text/xml;charset=utf-8;SOAPAction: "http://xxxx.com/xxxxAPI/Login"'-d '@loginRequest.xml' http://localhost:10481/xxxxAPIService.asmx[/size]
curl -H 'HTTP头' -d '请求XML' 接口地址
例:
curl -H'Content-Type: text/xml;charset=utf-8;SOAPAction: "http://xxxx.com/xxxxAPI/Login"'-d '@loginRequest.xml' http://localhost:10481/xxxxAPIService.asmx[/size]