Mupltiple parameters for REST service

Mar 18, 2012 at 9:27 PM

Hi,

Is it posible to create the following JSON with JSON.NET (I need to send two parameters to the REST Web service - POST)? The Web service method accepts two Article objects.

{
"article":
 {"Id":1,"MediumVote":0,"Title":"test","VoteCount":0},
"article2":
 {"Id":1,"MediumVote":0,"Title":"test","VoteCount":0}
}

 

Thank you,

Luka