Marcom Marcom - 3 months ago 15
C# Question

How to make a HTTP PUT request?

What is the best way to compose a rest PUT request in C#?

The request has to also send an object not present in the URI.

Answer
using(var client = new System.Net.WebClient()) {
    client.UploadData(address,"PUT",data);
}