DEVELOPERS TOOLS

Code for RUBY

require ‘uri’ require ‘net/http’ url = URI(“http://www.solution.mtalkz/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”) http = Net::HTTP.new(url.host, url.port) request = Net::HTTP::Post.new(url) response = http.request(request) puts response.read_body  
require 'uri' require 'net/http' url = URI("http://vapi.mtalkz/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") http = Net::HTTP.new(url.host, url.port) request = Net::HTTP::Post.new(url) request["content-type"] = 'application/javascript' response = http.request(request) puts response.read_body erform(hnd);
require 'uri' require 'net/http' url = URI("http://vapi.mtalkz/voiceapi/bapi.php?account=account%20name&pin=unique%20password&campaignid=unique%20campaign%20id") http = Net::HTTP.new(url.host, url.port) request = Net::HTTP::Post.new(url) response = http.request(request) puts response.read_body