Hi,
could somebody show me a working example on how to execute a post via
SSH? Some minutes before I learned that I have to use "require 'net/
https'" instead of net/http. But net/https is now mentioned in the
docs!? Or am I missing something? If i use net/https my call to
set_form_data seems to be ignored!? Any hint? I'm quite confused.
regards,
Achim
net/https uses ssl, not ssh. Is that what you mean?
···
On 24/05/07, Achim Domma <domma@procoders.net> wrote:
Hi,
could somebody show me a working example on how to execute a post via
SSH? Some minutes before I learned that I have to use "require 'net/
https'" instead of net/http. But net/https is now mentioned in the
docs!? Or am I missing something? If i use net/https my call to
set_form_data seems to be ignored!? Any hint? I'm quite confused.
regards,
Achim
There's an example of how to convert a working HTTP client into using HTTPS
here:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/net/https.rb?revision=11708&view=markup
···
On Thu, May 24, 2007 at 07:05:04PM +0900, Achim Domma wrote:
could somebody show me a working example on how to execute a post via
SSH? Some minutes before I learned that I have to use "require 'net/
https'" instead of net/http. But net/https is now mentioned in the
docs!? Or am I missing something? If i use net/https my call to
set_form_data seems to be ignored!? Any hint? I'm quite confused.