我按照建议使用了System.Web.Http命名空间。然而,在将其部署到共享主机服务器后,我得到以下错误: Token接口: "error": "unsupported_grant_type" Post接口(带有System.Web.Http的HttpPost的方法): "Message": "The requestedresourcedoes not supporthttpmeth
[OperationContract]bool IsPaymentGatewayExitsForTenant(string tenantSlugNametenantSlugName=KPN&productCode=POSS{"Message":"The requestedresourcedoesnot support
action = "Test" constraints: new httpMethod = new HttpMethodConstraint(HttpMethod.Get)但是,如果我尝试使用GET调用该方法,则会得到以下响应。{
Message: "The requestedresourcedoes not supporthttpmethod