Skip to content

Commit 3768aa7

Browse files
authored
Fix typo in HttpClient HTTPS example (#876)
1 parent 7a85c39 commit 3768aa7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/httpclient.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ WiFiClientSecure documentation for more details.
2727
2828
// Error checking is left as an exercise for the reader...
2929
HTTPClient https;
30-
https.setInsecure(); // Use certs, but do not check their authenticity
30+
https.setInsecure(); // Use certs, but do not check their authenticity
3131
if (https.begin("https://my.secure.server/url")) {
32-
if (http.GET() > 0) {
33-
String data = http.getString();
32+
if (https.GET() > 0) {
33+
String data = https.getString();
3434
}
35-
http.end();
35+
https.end();
3636
}
3737
3838
Unlike the ESP8266 and ESP32 ``HTTPClient`` implementations it is not necessary

0 commit comments

Comments
 (0)