var unirest = require("unirest");
var req = unirest("GET", "https://branded-sms-pakistan.p.rapidapi.com/send");
req.query({
"message": "bonne f%C3%AAte",
"email": "consty3112%40outlook.com",
"to": ""
});
req.headers({
"x-rapidapi-host": "branded-sms-pakistan.p.rapidapi.com",
"x-rapidapi-key": "f7f846a52cmshea137933a83a963p124559jsnd9da280b818b"
});
req.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.body);
});