fuck kors

This commit is contained in:
Ccccadyrov 2022-11-30 01:04:19 +10:00
commit 85c6ad6264
2 changed files with 29 additions and 0 deletions

16
index.html Normal file
View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form>
<input type="submit" value="submit1">
</form>
<button>ебануть</button>
<script src="/js.js"></script>
</body>
</html>

13
js.js Normal file
View File

@ -0,0 +1,13 @@
alert('work')
let post = 'vdk2ch'
let button = document.querySelector('button')
const push1= function() {fetch('http://vault.vdk2ch.ru:8200/v1/sys/wrapping/wrap',
{ method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(post),
})
.then((response) => response.json())
.then((posts) => console.log(posts));}
button.addEventListener('click', push1)