V
Size: a a a
V
KS
V
LS
B
LS
B
LS
e
const res = await fetch('/api/subscriptions', {На беке
method: 'POST',
body: JSON.stringify({ username: 'mikki', password: 'test' })
});
req.body
логируется пустым. Отчего?AK
С
С
e
const res = await fetch('/api/subscriptions', {На беке
method: 'POST',
body: JSON.stringify({ username: 'mikki', password: 'test' })
});
req.body
логируется пустым. Отчего?headers: {'Content-Type': 'application/json'}
e
АБ
NÁ
let priceProduct = document.getElementById('price_product');
let quantityProduct = document.getElementById('quantityProduct');
let sumProduct = document.getElementById('sumProduct');
sumProduct = function() {
return sumProduct.value = priceProduct.value * quantityProduct.value;
};
NÁ
NÁ
V
let priceProduct = document.getElementById('price_product');
let quantityProduct = document.getElementById('quantityProduct');
let sumProduct = document.getElementById('sumProduct');
sumProduct = function() {
return sumProduct.value = priceProduct.value * quantityProduct.value;
};