Created
March 23, 2022 10:14
-
-
Save marcobehlerjetbrains/75f5e082f07def8957fc0234076f7435 to your computer and use it in GitHub Desktop.
Spring Boot REF1 - Http Delete
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(async function deletePhoto(id) { | |
await fetch("http://localhost:8080/photoz/" + id, { | |
method: "DELETE" | |
}) | |
})("5") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment