mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-29 15:42:20 +03:00
в "Update device data: " давал непечатаемый сивол
This commit is contained in:
@@ -34,7 +34,7 @@ void updateDeviceStatus() {
|
|||||||
int httpResponseCode = http.POST(httpRequestData);
|
int httpResponseCode = http.POST(httpRequestData);
|
||||||
|
|
||||||
if (httpResponseCode > 0) {
|
if (httpResponseCode > 0) {
|
||||||
ret = httpResponseCode;
|
ret = http.errorToString(httpResponseCode).c_str();
|
||||||
if (httpResponseCode == HTTP_CODE_OK) {
|
if (httpResponseCode == HTTP_CODE_OK) {
|
||||||
String payload = http.getString();
|
String payload = http.getString();
|
||||||
ret += " " + payload;
|
ret += " " + payload;
|
||||||
|
|||||||
Reference in New Issue
Block a user