How can I post form data via https?

How can I post form data via https?

Assume there is a site: https://www.example.com

The login page at https://www.example.com/servlets/Login
has a form:

And here is the actually form I want to post:
At https://mcd.example.com/servlets/ResourceAdd
the form is:

So can anyone write a ruby script for me?

I’d suggest you take a look over WWW::Mechanize . It can handle
everything you need .

So can anyone write a ruby script for me?

NO.

Lex W. wrote:

I’d suggest you take a look over WWW::Mechanize . It can handle
everything you need .

Thank you for your information.