使用post请求发送webservice请求
请求接口:http://www.webxml.com.cn/WebServices/WeatherWebService.asmx?op=getWeatherbyCityName
1.请求头要添加:
Content-Type: text/xml; charset=utf-8 声明提交请求数据为xml格式数据
2.请求方式为post
3.查看结果树,返回结果正常