Skip to content

Commit

Permalink
Log POST data
Browse files Browse the repository at this point in the history
  • Loading branch information
pnt325 committed Aug 21, 2024
1 parent fb57a11 commit 900a2da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AgApiClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 900a2da

Please # to comment.