Created
September 16, 2010 08:13
-
-
Save joerichsen/582124 to your computer and use it in GitHub Desktop.
Revisions
-
joerichsen created this gist
Sep 16, 2010 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ response = Net::HTTP.post_form(URI.parse('http://www.cpsms.dk/sms/'), {'username' => username, 'password' => password, 'recipient' => user.preference.sms_no, 'message' => 'Dejlig sms fra os', 'from' => 'FraOs', 'utf8' => 1, 'url' => "http://eksempel.dk/sms" })