Put

Task<IExpectRequest> Put(string url, HttpContent content);

Used to make a Put request to the URL specified. You should use the extension methods to send your object’s as HttpContent automatically. View the extension methods here.

Example

await new Request()
    .Put("http://localhost:8080/api/todo/1", new StringContent("..."))
    .Done();

Back to Request