вот мой почтовый запрос, он не работает после добавления x-api-ключа. Я новичок в реакции-родной. Пожалуйста, помогите
await fetch('' + url, {
method: 'POST',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
'Authorization':acceestoken,
'X-Api-Key':'xxxxxxxxxx'
},
body: JSON.stringify({
"operation": "getAllData"
}),
}).then((response) => response.json())
.then(async (responseJson) => {.............