ShuDudu's Home was started in 2011, but the web data is lost, so now begin again, I would like to make some friends, I hope you like ShuDudu's home.
Current position: ShuDudu > Life >

[To] Web Services enables HTTP GET and HTTP POST

Wednesday on February 7th, 2007Life

INFO: HTTP GET and HTTP POST solutions on Web servers in HTTP GET and HTTP POST

profile
.NET Framework 1.1 are disabled by default.

you can enable HTTP GET and HTTP POST by editing the Web.config file of the vroot where the Web service is located. Both HTTP GET and HTTP POST are enabled in the following configuration:

 & lt;configuration>& lt;system.web>& lt;webServices>& lt;protocols>& lt;add name="HttpGet"/>& lt;add name="HttpPost"/>& lt;/protocols>& lt;/webServices>& lt;/system.web>& lt;/configuration>

alternatively, you can enable these protocols for all Web services on your computer by editing the sections in Machine.config. The following example enables HTTP GET, HTTP POST, and SOAP, as well as HTTP POST from the local host:

 & lt;protocols>& lt;add name="HttpSoap"/>& lt;add name="HttpPost"/>& lt;add name="HttpGet"/>& lt;add name="HttpPostLocalhost"/>& Lt ownership Documentation enables the documentation/test pages-- & gt& lt;add name="Documentation"/>& lt;/protocols>

this article comes from: Microsoft China website for more details: http://support.microsoft.com/kb/819267/zh-cn

so that you can call WebServices written by C # through Post or Get.

Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/life/To-Web-Services-enables-HTTP-GET-and-HTTP-POST.htm