Update API description (#22066)

pull/22067/head
Luke Latham 2021-04-16 03:45:44 -05:00 committed by GitHub
parent c4da7f48c9
commit 28cc607d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.