Last active
October 16, 2018 16:15
-
-
Save anotherxx/a43c5a27f1294fbf9544ccbad1d90d77 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
static registerCallBack(personName, personPhone) { | |
return axios.post(`${BASE_URL}/api/client/v2/callback_messages`, { | |
name: personName, | |
phone: personPhone | |
}).then(resp => resp.data) | |
.catch(err => { | |
throw err | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment