diff --git a/libraries/HTTPUpdate/examples/httpUpdate/httpUpdate.ino b/libraries/HTTPUpdate/examples/httpUpdate/httpUpdate.ino index f646be04583..e98a5851366 100644 --- a/libraries/HTTPUpdate/examples/httpUpdate/httpUpdate.ino +++ b/libraries/HTTPUpdate/examples/httpUpdate/httpUpdate.ino @@ -52,7 +52,7 @@ void loop() { t_httpUpdate_return ret = httpUpdate.update(client, "http://server/file.bin"); // Or: - //t_httpUpdate_return ret = httpUpdate.update(client, "server", 80, "file.bin"); + //t_httpUpdate_return ret = httpUpdate.update(client, "server", 80, "/file.bin"); switch (ret) { case HTTP_UPDATE_FAILED: diff --git a/libraries/HTTPUpdate/examples/httpUpdateSecure/httpUpdateSecure.ino b/libraries/HTTPUpdate/examples/httpUpdateSecure/httpUpdateSecure.ino index 5daa2a4f2a1..1c85ace02a5 100644 --- a/libraries/HTTPUpdate/examples/httpUpdateSecure/httpUpdateSecure.ino +++ b/libraries/HTTPUpdate/examples/httpUpdateSecure/httpUpdateSecure.ino @@ -108,7 +108,7 @@ void loop() { t_httpUpdate_return ret = httpUpdate.update(client, "https://server/file.bin"); // Or: - //t_httpUpdate_return ret = httpUpdate.update(client, "server", 443, "file.bin"); + //t_httpUpdate_return ret = httpUpdate.update(client, "server", 443, "/file.bin"); switch (ret) {