c# create http client post json code example
Example: httpclient post c# json
var httpClient = new HttpClient();
var json = JsonConvert.SerializeObject(ticket);
var content = new StringContent(json, Encoding.UTF8, "application/json");
await httpClient.PostAsync("https://address.com", content);