Suppose, we have a var type and we want to hard code some values just for testing purpose something in this:
var payload = JsonConvert.SerializeObject(sof);
Here, i want to change some properties values in payload variable at runtime.On Hover,i can see all properties with values.I want to know can i change one or two of them and post those changed values alongwith original values to this:
await client.PostAsync(url, new StringContent(payload, Encoding.UTF8, "application/json"));
Please someone tell me how to do it.