fuck kors
This commit is contained in:
commit
85c6ad6264
16
index.html
Normal file
16
index.html
Normal 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
13
js.js
Normal 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)
|
Loading…
Reference in New Issue
Block a user