Skip to content

Instantly share code, notes, and snippets.

@getnashty
Last active May 6, 2016 02:01
Show Gist options
  • Save getnashty/f1360d0ef0069999076ff6caece4b8ea to your computer and use it in GitHub Desktop.
Save getnashty/f1360d0ef0069999076ff6caece4b8ea to your computer and use it in GitHub Desktop.
var request = new Request('http://burnmob-server.herokuapp.com/reg', {
method: 'POST',
headers: {
'Accept' : 'application/json',
'Content-Type' : 'application/json',
'Origin': ''
},
body: JSON.stringify({
'phone': num,
'tokpriv': privateToken
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment