Skip to content

Instantly share code, notes, and snippets.

@zaghaghi
Created July 4, 2018 05:27
Show Gist options
  • Save zaghaghi/a328c3c254d6b95e2baa9f72ad19c822 to your computer and use it in GitHub Desktop.
Save zaghaghi/a328c3c254d6b95e2baa9f72ad19c822 to your computer and use it in GitHub Desktop.
how to call botava apis
fetch('https://api.botava.ir/v1/signup/', {
method: 'POST',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json; charset=utf-8',
'APIKEY': 'SKJSHDKJHKJHKJHKJKJHKJH'
},
body: JSON.stringify({
name: 'Hamed',
phone: '094284287824',
email: '[email protected]'
}),
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment