开发者

ASP Web service insists on being called via post

开发者 https://www.devze.com 2023-03-01 01:04 出处:网络
It seems that the asp web service insists on being called via a POST request. How can I make it accept my 开发者_开发百科GET request?

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

0

精彩评论

暂无评论...
验证码 换一张
取 消