Skip to content

Commit 3d4cfc4

Browse files
authored
Fix formatting in HTTP client documentation
1 parent df52ad3 commit 3d4cfc4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/fundamentals/networking/http/httpclient.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ The code completes the following tasks:
170170

171171
#### Create the HTTP POST request as JSON
172172

173-
To automatically serialize `POST` request arguments and deserialize responses into strongly typed C# objects, use the <xref:System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync%2A> and the
174-
<xref:System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync%2A> extension methods, respectively, that are part of the [System.Net.Http.Json](https://www.nuget.org/packages/System.Net.Http.Json) NuGet package.
173+
To automatically serialize `POST` request arguments and deserialize responses into strongly typed C# objects, use the <xref:System.Net.Http.Json.HttpClientJsonExtensions.PostAsJsonAsync%2A> and the <xref:System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync%2A> extension methods, respectively, that are part of the [System.Net.Http.Json](https://www.nuget.org/packages/System.Net.Http.Json) NuGet package.
175174

176175
:::code source="../snippets/httpclient/Program.PostAsJson.cs" id="postasjson":::
177176

0 commit comments

Comments
 (0)