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