To jest stara wersja strony!
HTTP na ESP32
Import
#include <HTTPClient.h>
HTTP GET request
String url = "https://sases.pl"; if(WiFi.status()== WL_CONNECTED) { HTTPClient httpClient; // Utworzenie instancji httpClient.begin(url.c_str()); int httpResponseCode = httpClient.GET(); if (httpResponseCode > 0) { if (httpResponseCode == 200) { String payload = httpClient.getString(); // String z zawartością URL } } httpClient.end(); // Zniszczenie instancji i zwolnienie zasobów }