DmitrMakeev commited on
Commit
8368280
·
verified ·
1 Parent(s): f730cf4

Update nutri_call.html

Browse files
Files changed (1) hide show
  1. nutri_call.html +4 -0
nutri_call.html CHANGED
@@ -372,6 +372,10 @@ document.getElementById('calculate-btn').addEventListener('click', function() {
372
  }
373
  };
374
 
 
 
 
 
375
  // Отправка на сервер
376
  fetch('/calculation', {
377
  method: 'POST',
 
372
  }
373
  };
374
 
375
+ // ВЫВОД ОТПРАВЛЯЕМЫХ ДАННЫХ В КОНСОЛЬ
376
+ console.log("Данные для отправки на сервер:");
377
+ console.log(JSON.stringify(requestData, null, 2));
378
+
379
  // Отправка на сервер
380
  fetch('/calculation', {
381
  method: 'POST',