Hi,
I'm quite new to ruby, and this is my first question to your group:
Is there a ruby library with support for making a HttpClient - like the Jakarta commons HttpClient for java ?
best regards
Hardy
Hi,
I'm quite new to ruby, and this is my first question to your group:
Is there a ruby library with support for making a HttpClient - like the Jakarta commons HttpClient for java ?
best regards
Hardy
Sorry for this beginner question.
A search in: http://ruby.codefetch.com/search?qy=Http&lang=ruby
gave me some examples, and a couple of minuts later I had my client running.
/Hardy
Hardy Henneberg wrote:
Hi,
I'm quite new to ruby, and this is my first question to your group:Is there a ruby library with support for making a HttpClient - like the Jakarta commons HttpClient for java ?
best regards
Hardy
Hardy Henneberg wrote:
Hi,
I'm quite new to ruby, and this is my first question to your group:Is there a ruby library with support for making a HttpClient - like the Jakarta commons HttpClient for java ?
What does Jakarta commons HttpClient do, and have you looked at the Net::HTTP library?
http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html
And welcome to Ruby!
James
--
http://www.ruby-doc.org - The Ruby Documentation Site
http://www.rubyxml.com - News, Articles, and Listings for Ruby & XML
http://www.rubystuff.com - The Ruby Store for Ruby Stuff
http://www.jamesbritt.com - Playing with Better Toys
Quoting Hardy Henneberg <hh@hhenne.dk>:
Is there a ruby library with support for making a HttpClient - like
the Jakarta commons HttpClient for java ?
In addition to Net::HTTP, there is also WebUnit. It has an interface
similar to HttpUnit for java, if that is what floats your boat. And
there is WWW::Mechanize, which is similar to the perl WWW::Mechanize.
Cheers,
~ Patrick May
Thanks for a very fast answer.
And yes, Net::HTTP is the right answer.
Seems like a realy good language and community.
Hardy
James Britt wrote:
Hardy Henneberg wrote:
Hi,
I'm quite new to ruby, and this is my first question to your group:Is there a ruby library with support for making a HttpClient - like the Jakarta commons HttpClient for java ?
What does Jakarta commons HttpClient do, and have you looked at the Net::HTTP library?
http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html
And welcome to Ruby!
James
See also openuri in the standard library which is just a different (but fun!) interface.
James Edward Gray II
On Oct 3, 2005, at 3:04 PM, Hardy Henneberg wrote:
And yes, Net::HTTP is the right answer.