Created
July 17, 2018 13:54
-
-
Save guaracyalima/fb0b3bcaf88a660d8e524ae4aa824235 to your computer and use it in GitHub Desktop.
Envio de SMS do go farma
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
const totalvoice = require('totalvoice-node'); | |
const client = new totalvoice("{{54585b751f9771e23295f630c154fe9a}}"); | |
client.sms.enviar("61996291384", "Go Farma") | |
.then(function (data) { | |
console.log(data) | |
}) | |
.catch(function (error) { | |
console.error('Erro: ', error) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment