let description = {
information: incuire.value
}
fetch('http://localhost:3000/', {
method: 'POST',
mode: 'cors',
body: JSON.stringify(description),
headers: {
'content-type': 'application/json'
}
}).then((response) => {
return response.json();
}).then((infa)=>{
// Возвращаем распарсинную информацию в аргументе resolve
console.log(infa);
})