Skip to content

Commit 2a381b5

Browse files
JeepNLSteveSandersonMS
authored andcommitted
Change-http-to-https-in-HttpRequestsComponent-example
Changed 'http' to 'https' in [string uri = "https://api.icndb.com/jokes/random";] because 'http' gives a 'Failed To Fetch' error.
1 parent 321ec91 commit 2a381b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/test/testassets/BasicTestApp/HttpClientTest/HttpRequestsComponent.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</style>
5656

5757
@code {
58-
string uri = "http://api.icndb.com/jokes/random";
58+
string uri = "https://api.icndb.com/jokes/random";
5959
string method = "GET";
6060
string requestBody = "";
6161
List<RequestHeader> requestHeaders = new List<RequestHeader>();

0 commit comments

Comments
 (0)