File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,7 @@ If you're calling an external web API (not in the same URL space as the client a
520520
521521``` csharp
522522builder .Services .AddHttpClient (" WebAPI" , client =>
523- client .BaseAddress = new Uri (https :// localhost:5001));
523+ client .BaseAddress = new Uri (" https://localhost:5001" ));
524524```
525525
526526In the following component code:
@@ -618,7 +618,7 @@ If you're calling an external web API (not in the same URL space as the client a
618618
619619``` csharp
620620builder .Services .AddHttpClient <ForecastHttpClient >(client =>
621- client .BaseAddress = new Uri (https :// localhost:5001));
621+ client .BaseAddress = new Uri (" https://localhost:5001" ));
622622```
623623
624624Components inject the typed < xref:System.Net.Http.HttpClient > to call the web API.
You can’t perform that action at this time.
0 commit comments