request.RequestFormat = DataFormat.Json; request.AddJsonBody(new { A = "foo", B = "bar" }); // Anonymous type object is converted to Json body
References
https://stackoverflow.com/questions/6312970/restsharp-json-parameter-posting
request.RequestFormat = DataFormat.Json; request.AddJsonBody(new { A = "foo", B = "bar" }); // Anonymous type object is converted to Json body
References
https://stackoverflow.com/questions/6312970/restsharp-json-parameter-posting