Sqauarestudio has created a function for button click. I am looking for a way to call a simple GET URL on click using HTTPClient. My esp32-c3 board has Wifi and I have already connected it inside my setup()
void xyzClicked(lv_event_t * e)
{
HTTPClient http;
http.begin("some url");
}