httpclient postasync without content code example Example: c# httpclient post no content Task<HttpResponseMessage> task = client.PostAsync(url, null);