Use :: Begin (Wificlient, URL)

WiFiClient client;
HTTPClient http;
http.begin(client, "url"); 
ykk