commit
12dbc906b4
|
@ -46,6 +46,8 @@ The preceding code requires the `Microsoft.AspNetCore.Mvc.NewtonsoftJson` packag
|
|||
|
||||
[!code-csharp[](jsonpatch/samples/3.0/WebApp1/Startup.cs?name=snippet1)]
|
||||
|
||||
Use the `Newtonsoft.Json.JsonConvert.SerializeObject` method to serialize a JsonPatchDocument.
|
||||
|
||||
## PATCH HTTP request method
|
||||
|
||||
The PUT and [PATCH](https://tools.ietf.org/html/rfc5789) methods are used to update an existing resource. The difference between them is that PUT replaces the entire resource, while PATCH specifies only the changes.
|
||||
|
|
Loading…
Reference in New Issue