Skip to content

PatchAsync

Troy Willmot edited this page Oct 16, 2016 · 1 revision

Summary

Makes an HTTP call with the PATCH verb. Similar to the native GetAsync/PostAsync/DeleteAsync methods.

Sample

var client = new HttpClient();
await client.PatchAsync(new Uri("http://www.myserver.com/endpoint"), new StringContent("{ id: 1, name: \"test\" }"));

Clone this wiki locally