Skip to content

Instantly share code, notes, and snippets.

@malte-j
Created February 12, 2018 18:45
Show Gist options
  • Save malte-j/8e7efda900e34da08acabd9108d7b9d3 to your computer and use it in GitHub Desktop.
Save malte-j/8e7efda900e34da08acabd9108d7b9d3 to your computer and use it in GitHub Desktop.
fetch('/api/open', {
method: "POST",
body: JSON.stringify({
token: idToken
}),
headers: {
"Content-Type": "application/json"
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment