a
Size: a a a
a
РБ
a
w
fetch('https://api.monobank.ua/personal/client-info', {
method: 'GET',
headers: {
'X-Token': '...'
},
})
правильно же?RS
РБ
fetch('https://api.monobank.ua/personal/client-info', {
method: 'GET',
headers: {
'X-Token': '...'
},
})
правильно же?w
try {
fetch('https://api.monobank.ua/personal/client-info', {
method: 'GET',
headers: {
'X-Token': '...'
},
})
.then(response => response.json())
.then(response => {
console.log(response)
})
.catch(error => {
console.log(error)
})
} catch (error) {
console.log(error)
}
аж 2 catchw
РБ
w
РБ

w
РБ
РБ
w
РБ
i
РБ
w
w