I have a scenario where I need to call my Web API Delete method constructed like the following:
// DELETE: api/products/{id}/headers [HttpDelete(\"{id}/heade
Here is how I accomplished it
var request = new HttpRequestMessage(HttpMethod.Delete, "http://www.example.com/"); request.Content = new StringContent(JsonConvert.SerializeObject(object), Encoding.UTF8, "application/json"); await this.client.SendAsync(request);