HTTP Post Request to a servlet

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/MobileLoginServlet

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

Try Net::HTTP?
http://ruby-doc.org/core/classes/Net/HTTP.html

On Feb 16, 12:43 am, Hector D. [email protected]

Jeff Emminger wrote:

Try Net::HTTP?
http://ruby-doc.org/core/classes/Net/HTTP.html

On Feb 16, 12:43�am, Hector D. [email protected]

Thanks for the link… that solved the problem :slight_smile: