Skip to content

Fix typo in HttpClient HTTPS example #876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/httpclient.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ WiFiClientSecure documentation for more details.

// Error checking is left as an exercise for the reader...
HTTPClient https;
https.setInsecure(); // Use certs, but do not check their authenticity
https.setInsecure(); // Use certs, but do not check their authenticity
if (https.begin("https://my.secure.server/url")) {
if (http.GET() > 0) {
String data = http.getString();
if (https.GET() > 0) {
String data = https.getString();
}
http.end();
https.end();
}

Unlike the ESP8266 and ESP32 ``HTTPClient`` implementations it is not necessary
Expand Down