forked from airgradienthq/arduino
Log POST data
This commit is contained in:
1 parent
fb57a112c9
commit
900a2da2ac
1 file changed
+1
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user