Sending URL

Hello,

I need to send a URL to a server, example
http://sms1.eskyglobal.com:8080/servlet/com.pcs.emood.http.emoodRequest?username=xxxx&password=xxxx&sendto=6012XXXXXXX&text=This+is+a+test+message&tpoa=PCS

Question,

  1. How do i send it using Ruby
  2. How do i pass the parameter value e.g username and password using
    Ruby

Many thanks

class Net::HTTP
docs -
http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs