实现
#include <HTTPClient.h>
#include <WiFi.h>
void getFile(String file_name)
{
HTTPClient http;
Serial.print("[HTTP] begin...\n");
String storage_path = "/image/" + file_name;
http.begin("http://host:port/file/" + file_name);
Serial.print("[HTTP] GET...\n");
int httpCode = http.GET();
if

最低0.47元/天 解锁文章
3554

被折叠的 条评论
为什么被折叠?



