title: Recommended method to call azure function Webhook
body: <p>I'm using the following code to call/trigger an Azure Function Webhook</p>
  
  <p>I know know MS has a bunch of Webhook libraries although I'm unable to find a example of calling an Azure Function Webhook. </p>
  
  <pre><code>using (var client = new HttpClient()) {
                      var content = new StringContent(JsonConvert.SerializeObject(new { Name = "Bob", Age = 30 }), Encoding.UTF8, "application/json");
                      var response = await client.PostAsync("https://url_to_webhook", content);
                      if (response.IsSuccessStatusCode) {
                          // do what needs to be done
                      }
                  }
  </code></pre>
  
  <p>I thought MS might have had some code that looks more like</p>
  
  <pre><code>var webhook = new Webhook(url);
          var resultObject = await webhook.PostAsync&lt;JObject&gt;(new {Name = "Bob", Age = 30});
  </code></pre>
  
  <p>I know my code works just wanted to know if there is specific / optimized Webhook code...</p>
  
  <p>I'm using .net core</p>