Forum: Ruby on Rails HTTP Post Request to a servlet

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Hector D. (Guest)
on 2009-02-16 07:43
hi,

i have to pass parameters to a Login servlet using ruby on rails at the
URL(intranet)
http://172.16.3.156:9090/crmserver/servlets/mobile...

 and have to write following on output stream :-->

 "0\badmin\badmin"

 \b is delimitor  & admin is username and password

 0 is the command id for login

i m not able to get what to do... any suggestions or help which i can
refer to ?

Thanks
Jeff E. (Guest)
on 2009-02-17 02:19
(Received via mailing list)
Try Net::HTTP?
http://ruby-doc.org/core/classes/Net/HTTP.html


On Feb 16, 12:43 am, Hector D. <removed_email_address@domain.invalid>
Hector D. (Guest)
on 2009-02-17 08:33
Jeff Emminger wrote:
> Try Net::HTTP?
> http://ruby-doc.org/core/classes/Net/HTTP.html
>
>
> On Feb 16, 12:43�am, Hector D. <removed_email_address@domain.invalid>

Thanks for the link... that solved the problem  :)
This topic is locked and can not be replied to.