mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
added webhook yeeter
This commit is contained in:
parent
c94230d3d7
commit
8aa68999c2
16
tools/WebhookYeet/index.html
Normal file
16
tools/WebhookYeet/index.html
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<head>
|
||||||
|
<title>Discord webhook yeeter</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<label>Url:</label><br>
|
||||||
|
<textarea value="" rows="6" cols="80" id="input" required></textarea><br>
|
||||||
|
<button type="button" onclick="YEET();">YEET</button>
|
||||||
|
<h1 id="out"></h1>
|
||||||
|
<script>
|
||||||
|
function yeet(){
|
||||||
|
const url = document.getElementById("input").value
|
||||||
|
fetch(url, { method: 'DELETE' })
|
||||||
|
.then(() => document.getElementById("out") = 'Delete successful');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
Loading…
x
Reference in New Issue
Block a user