C# build a websevice method that accepts POST methods like HttpWebRequest method

前端 未结 2 1554
伪装坚强ぢ
伪装坚强ぢ 2021-01-28 17:49

i need a web service that accepts POST methods. An server that is accessing me is using POST method. It sends me an xml and i should response with some xml.

The other

2条回答
  •  生来不讨喜
    2021-01-28 18:15

    From http://support.microsoft.com/kb/819267:

    HTTP GET and HTTP POST may be enabled by editing the Web.config file for the vroot where the Web service resides. The following configuration enables both HTTP GET and HTTP POST:

    
        
        
            
                
                
            
        
        
    
    

提交回复
热议问题