Created
June 6, 2018 23:30
-
-
Save jmrboosties/3c0f412fcd449a9670cc856a9964035a 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("http://localhost:5001/jmr-fire-test/us-central1/createRecord", { | |
method: "POST", | |
body: {fuck: 'you'}, | |
headers: {'Content-Type': 'application/json'} | |
}).then(response => { | |
alert('successful'); | |
}) | |
.catch(e => { | |
alert(e); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment