开发者

Passing a complex type to a rest service and the standard way to pass parameters to rest services?

开发者 https://www.devze.com 2023-02-26 19:00 出处:网络
What is the standard way to pass parameters to REST services? Is it parameterName = value? In this way, how 开发者_StackOverflow中文版would the complex object be passed? I am using c# WebRequest clas

What is the standard way to pass parameters to REST services? Is it parameterName = value?

In this way, how 开发者_StackOverflow中文版would the complex object be passed? I am using c# WebRequest class for calling Rest services. Target service could be implemented in any language so the solution I have to implement should be generic.


A very good article about passing complex types has been written by Dave Ward. You can find the article here. Also, you can read his recent article about common mistakes while serializing complex types here.

0

精彩评论

暂无评论...
验证码 换一张
取 消