I am having trouble in using POST method and JSON-Patch operations (Please refer to RFC: https://www.rfc-editor.org/rfc/rfc6902) in RestSharp's RestClient. AddBody() contains something like this:
request.AddBody(new { op = "add", path = "/Resident", value = "32432" });
It errors out. I don't know how to pass json-patch
operations in the body. I have tried everything I could. Is there a solution for this problem?