title: How to set body to an http post request in c#
body: <p>A newbie to both c# and client-server, hope this is not dumb, but I was not able to understand how to set the body of an http post request.</p>
  
  <p>I have to use the following object to make a request, and I can't understand how to set the request body to what I have to send.</p>
  
  <pre><code>var request = new HttpRequestMessage(HttpMethod.Post, requestURI);
  //
  // Here I believe that I am suppose to set the post request body
  //
  var response = httpClient.SendAsync(request).Result;
  </code></pre>
  
  <p>Thanks. Any help much appreciated!</p>