Created
May 18, 2020 17:52
-
-
Save exinferis/c313b41297d575eb5b751b6841e375a2 to your computer and use it in GitHub Desktop.
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
fetch({url: "/whatever/123", method: "DELETE"}) | |
.then((response) => { | |
console.log("Got response for DELETE Request", response); | |
}) | |
.catch((err) => { | |
console.error("DELETE REQUEST failed: ", err); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment