Need urgent help!

HI,

I m a newbie to ruby and
found it very exciting as I m a java developer ,working 4 an IT MNC . My
task is to automate the web service that we r offering 2 a client.my
tasks are :

  1. when someone opens the client’s site and enters credentials and
    clicks button , then ruby script will pick that information from the
    fields and after validating redirects to a 3rd party .

2.Another script will receive response from client’s site in JSON format
and validates it .

3.Third script checks for IP based authentication

My problem is the first one as I don’t want to use rails and using pure
ruby I want to process form data and forward it to server upon the click
or enter event . can anyone help me out ?

Thanks & Regards

Pradeepta