应该是8266自带库版本不一样,此处需要改一下用法: WiFiClient client; //新添加 HTTPClient httpClient; httpClient.begin(client,url); 即可。