This commit is contained in:
2024-10-01 19:34:23 +05:00
parent 4c31ad9024
commit 3a685fdb55

View File

@@ -3,6 +3,7 @@ async function postData(url, data) {
const response = await fetch(url, {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify(data),