This commit is contained in:
Boof 2023-02-27 13:35:52 +01:00 committed by GitHub
parent 755f14f203
commit adb2a20810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
<button type="button" onclick="YEET();">YEET</button>
<h1 id="out"></h1>
<script>
function yeet(){
function YEET(){
const url = document.getElementById("input").value
fetch(url, { method: 'DELETE' })
.then(() => document.getElementById("out") = 'Delete successful');