形如:
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
CURL 测试 WebService POST
猜你喜欢
转载自njs375666635.iteye.com/blog/2283571
今日推荐
周排行