The remote server returned an error: (405) Method Not Allowed. WCF REST Service

前端 未结 6 896
攒了一身酷
攒了一身酷 2021-01-18 02:09

This question is already asked elsewhere but those things are not the solutions for my issue.

This is my service

[WebInvoke(UriTemplate = \"\", Metho         


        
6条回答
  •  独厮守ぢ
    2021-01-18 02:53

    In the case I came up against, there was yet another cause: the underlying code was attempting to do a WebDAV PUT. (This particular application was configurable to enable this feature if required; the feature was, unbeknownst to me, enabled, but the necessary web server environment was not set up.

    Hopefully this may help someone else.

提交回复
热议问题