Passing a complex type to a rest service and the standard way to pass parameters to rest services?
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.
精彩评论