DEVELOPERS TOOLS

Code for NodeJS

var http = require(“http”); var options = { “method”: “POST”, “hostname”: “www.solution.mtalkz”, “port”: null, “path”: “/SendSMS/sendmsg.php?pass=password&send=SenderId%20as%20required&dest=Destination%20Mobile%20Number&intl=0%20&udhi=0%20&uname=Username&msg=Body%20of%20the%20message&dcs=0%20-%20Text%2C%204%20-%20binary%2C%208%20-Unicode%2C%2016%20%E2%80%93%20Flash%2C%20245%20%E2%80%93%20binary%20including%20Ringtone%20or%20picture&port=Port%20Number%20based%20on%20Handset&wapurl=URL&waptxt=Text%20Message&unicode=0-Plain%2C%201-Unicode&concat=0&prty=1%2C%202%2C%203%2C%204%2C%205&vp=1%20to%20180%20minutes”, “headers”: {} }; var req = http.request(options, function (res) { var chunks = []; res.on(“data”, function (chunk) { chunks.push(chunk); }); res.on(“end”, function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();  
var http = require("http"); var options = { "method": "POST", "hostname": "vapi.mtalkz", "port": null, "path": "/voiceapi/tapi.php?account=account%20name&pin=password&templateid=unique%20number&retry=number%20of%20retries&sch_time=scheduled%20start%20time&end_time=scheduled%20end%20time", "headers": { "content-type": "application/javascript" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
var http = require("http"); var options = { "method": "POST", "hostname": "vapi.mtalkz", "port": null, "path": "/voiceapi/bapi.php?account=account%20name&pin=unique%20password&campaignid=unique%20campaign%20id", "headers": {} }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();