Merge pull request #214 from airgradienthq/hotfix/api-client-log

API client log post data
This commit is contained in:
Phat Nguyen
2024-08-21 12:28:50 +07:00
committed by GitHub

View File

@ -130,6 +130,7 @@ bool AgApiClient::postToServer(String data) {
client.end();
logInfo(String("POST: ") + uri);
logInfo(String("DATA: ") + data);
logInfo(String("Return code: ") + String(retCode));
if ((retCode == 200) || (retCode == 429)) {