Skip to content

Instantly share code, notes, and snippets.

@joerichsen
Created September 16, 2010 08:13
Show Gist options
  • Select an option

  • Save joerichsen/582124 to your computer and use it in GitHub Desktop.

Select an option

Save joerichsen/582124 to your computer and use it in GitHub Desktop.

Revisions

  1. joerichsen created this gist Sep 16, 2010.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original 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"
    })