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

前端 未结 6 841
攒了一身酷
攒了一身酷 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:57

    When it happened to me, I just simply added the word post to the function name, and it solved my problem. maybe it will help some of you too.

提交回复
热议问题