mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-04-01 04:49:13 +03:00
Merge branch 'ver4dev' into v4dev
This commit is contained in:
@@ -34,7 +34,7 @@ void updateDeviceStatus() {
|
||||
int httpResponseCode = http.POST(httpRequestData);
|
||||
|
||||
if (httpResponseCode > 0) {
|
||||
ret = httpResponseCode;
|
||||
ret = http.errorToString(httpResponseCode).c_str();
|
||||
if (httpResponseCode == HTTP_CODE_OK) {
|
||||
String payload = http.getString();
|
||||
ret += " " + payload;
|
||||
|
||||
Reference in New Issue
Block a user