title: How to use HttpClient without async
body: <p>Hello I'm following to <a href="https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/calling-a-web-api-from-a-net-client" rel="noreferrer">this guide</a></p>
  
  <pre><code>static async Task&lt;Product&gt; GetProductAsync(string path)
  {
      Product product = null;
      HttpResponseMessage response = await client.GetAsync(path);
      if (response.IsSuccessStatusCode)
      {
          product = await response.Content.ReadAsAsync&lt;Product&gt;();
      }
      return product;
  }
  </code></pre>
  
  <p>I use this example on my code and I want to know is there any way to use <code>HttpClient</code> without <code>async/await</code> and how can I get only string of response?</p>
  
  <p>Thank you in advance</p>