ASP Web service insists on being called via post
It seems that the asp web service insists on being called via a POST request.
How can I make it accept my 开发者_开发百科GET request?
Thanks,
I believe you just need to modify your web.config to include something like this:
<webServices>
<protocols>
<add name="HttpSoap"/>
<add name="HttpPost"/>
<add name="HttpGet"/>
</protocols>
</webServices>
You can read more here: http://msdn.microsoft.com/en-us/library/b2c0ew36%28v=vs.71%29.aspx
精彩评论