Update API description (#22066)
parent
c4da7f48c9
commit
28cc607d7c
|
@ -87,7 +87,7 @@ JSON helper methods send requests to a URI (a web API in the following examples)
|
|||
}
|
||||
```
|
||||
|
||||
* <xref:System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync%2A>: Sends an HTTP POST request, including JSON-encoded content, and parses the JSON response body to create an object.
|
||||
* <xref:System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync%2A>: Sends a POST request to the specified URI containing the value serialized as JSON in the request body.
|
||||
|
||||
In the following code, `newItemName` is provided by a bound element of the component. The `AddItem` method is triggered by selecting a `<button>` element. See the sample app for a complete example.
|
||||
|
||||
|
|
Loading…
Reference in New Issue