Quantcast
Channel: my linux world » ruby
Viewing all articles
Browse latest Browse all 10

Sending SMS via “freesmsapi.com”

$
0
0

Hi friends,

I found a site which sends sms via website and programs. http://freesmsapi.com.

They provides their own API and programing codes in ruby,python.php.java,c,c#., etc.,

First we have to signup with our own domain and register with mail-id and phone number. that’s all. :)

Ex code in ruby:


require 'net/http'
require 'uri'
Net::HTTP.get_print URI.parse('<a href="http://s1.freesmsapi.com/messages/send?skey=8c0185641435ac8a43cf10230a1417ac&message=Password:7876&senderid=fsmsapi&recipient=9943239066" target="_blank">http://s1.<wbr>freesmsapi.com/messages/send?<wbr>skey=<wbr>8c0185641435ac8a43cf10230a1417<wbr>ac&message=Password:7876&<wbr>senderid=fsmsapi&recipient=<wbr>9943239066</wbr></wbr></wbr></wbr></wbr></wbr></a>')

Now i’m trying to integrate this code into rails3 :)



Viewing all articles
Browse latest Browse all 10

Trending Articles