Hello, I need to write a program that will talk http to some web applications. I was thinking to use Rack. I am not sure what would be a good way to do this. Is there a better or higher level gem that I can use for this. Thanks in advance! Alex -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Oct 15, 5:21 pm, Alex <alex.kat...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello, > > I need to write a program that will talk http to some web > applications. I was thinking to use Rack. I am not sure what would be > a good way to do this. Is there a better or higher level gem that I > can use for this.Rack isn''t what you want. Rack defines the interface between web server / server like things like passenger or mongrel and ruby web app frameworks like rails or sinatra. For your needs the lowest level you''d probably want is net/http, there are a variety of more high level/ fun thigns you can use such as httparty. If you control both ends of the conversation ActiveResource may also be worth looking at Fred> > Thanks in advance! > Alex-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Alex wrote in post #954625:> Hello, > > I need to write a program that will talk http to some web > applications. I was thinking to use Rack. I am not sure what would be > a good way to do this. Is there a better or higher level gem that I > can use for this. > > > Thanks in advance! > AlexYou could also peruse httparty (I think that''s the name of a gem I used)... -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks Everyone! httparty seems to be the right gem. Alex. On Fri, Oct 15, 2010 at 11:52 PM, Ar Chron <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Alex wrote in post #954625: > > Hello, > > > > I need to write a program that will talk http to some web > > applications. I was thinking to use Rack. I am not sure what would be > > a good way to do this. Is there a better or higher level gem that I > > can use for this. > > > > > > Thanks in advance! > > Alex > > You could also peruse httparty (I think that''s the name of a gem I > used)... > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.