The HTTP verb POST used to access path '/test.html' is not allowed

前端 未结 5 1763
眼角桃花
眼角桃花 2021-01-19 13:55

Below is my code:

5条回答
  •  灰色年华
    2021-01-19 14:29

    The default for this error is that the POST verb is turned off at the configuration for the server. Is this happening in Cassini or in IIS? In IIS this behavior can be controlled. Also you may want to make sure that the proper handlers are in your web.config if you are still having issues after looking at the IIS configuration (if this ends up being web service related):

      
            
                
                
                
    

提交回复
热议问题