title: HTTP PATCH Method C#
body: <p>I don't see the option of including a HTTP "PATCH" request, I don't get the option using Visual Studio Intellisense? How do I include the "PATCH" method in this code instead of "POST"</p>
  
  <pre><code>using (HttpClient httpClient = new HttpClient())
  {
      Uri requesturi = new Uri(string.Format("{0}/api/data/v8.2/", url));
      httpClient.BaseAddress = requesturi;
      httpClient.Timeout = new TimeSpan(0, 0, 4);  // 10 minutes
      httpClient.DefaultRequestHeaders.Accept.Clear();
      httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
      result = GetS2SAccessToken(url, pwd);
      httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", result);
      httpClient.DefaultRequestHeaders.Add("OData-MaxVersion", "4.0");
      httpClient.DefaultRequestHeaders.Add("OData-Version", "4.0");
      HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "");                   
      request.Content = new StringContent(props.ToString(), Encoding.UTF8, "application/json");
  }
  </code></pre>