Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmrboosties/3c0f412fcd449a9670cc856a9964035a to your computer and use it in GitHub Desktop.
Save jmrboosties/3c0f412fcd449a9670cc856a9964035a to your computer and use it in GitHub Desktop.
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