Use :: Begin (Wificlient, URL)
WiFiClient client;
HTTPClient http;
http.begin(client, "url");
ykk
WiFiClient client;
HTTPClient http;
http.begin(client, "url");