发送请求时,报错:因 URL 意外地以“/Login”结束,请求格式无法识别。
解决方法如下:在web.config中,添加如下代码:
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>
发送请求时,报错:因 URL 意外地以“/Login”结束,请求格式无法识别。
解决方法如下:在web.config中,添加如下代码:
<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
</protocols>
</webServices>