HTTPClient.h issues

Either your Arduino-ESP32 framework package was corrupted or you globally installed the erronous amcewen/HttpClient in PlatformIO. This will prevent the Arduino-ESP32’s internal HTTPClient.h library to be picked up.