为了账号安全,请及时绑定邮箱和手机立即绑定

C# WCF REST POST 方法可以没有参数吗?

C# WCF REST POST 方法可以没有参数吗?

C#
qq_花开花谢_0 2018-08-06 11:13:51
        [OperationContract]        [WebInvoke(Method = "POST", UriTemplate = "getsystemtime", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.WrappedResponse)]        System.Net.Http.HttpResponseMessage getsystemtime(); WCF REST POST 方法可以没有参数吗?;用HTTP POST 不能成功,请帮忙,谢谢。
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 964 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信