POST JSON Dictionary without Key/Value Text

后端 未结 4 463
醉梦人生
醉梦人生 2020-12-11 17:00

I have a WCF endpoint that is like such:

[OperationContract]
[WebInvoke(Method = \"POST\", BodyStyle = WebMessageBodyStyle.WrappedRequest, ResponseFormat = W         


        
4条回答
  •  我在风中等你
    2020-12-11 17:42

    Is it an option for you to change the DoWork parameter to a string, then use a Json deserializer in the method to convert it to the appropriate format?

提交回复
热议问题