The `PutAsJsonAsync` method in the `System.Net.Http.HttpClient` class in C# is used to send a HTTP PUT request to a specified URI with the given data in JSON format. The method serializes the specified object as JSON and sends it as the request body. It then sends the HTTP PUT request asynchronously and returns a Task that represents the asynchronous operation.
C# (CSharp) System.Net.Http HttpClient.PutAsJsonAsync - 55 examples found. These are the top rated real world C# (CSharp) examples of System.Net.Http.HttpClient.PutAsJsonAsync extracted from open source projects. You can rate examples to help us improve the quality of examples.