diff --git a/script.js b/script.js index 7fec580..4b31ea2 100644 --- a/script.js +++ b/script.js @@ -24,9 +24,7 @@ async function fetchData(number) { try { const response = await fetch(url, { method: 'POST', - headers: { - 'Content-Type': 'application/json' - }, + headers: headers, body: JSON.stringify({ headers }) }); if (response.ok) {