If you just need simple POST requests and fine control of the HTTP session, I think the standard Net::HTTP library is all that's called for: http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html Make sure you're on v1.8.7 or higher, as there were performance issues in 1.8.6.
There is also Curb, Libcurl bindings for Ruby http://curb.rubyforge.org Don't know if this is the one they didn't like. If those fail to satisfy I think your obstreperous friend needs to give more details on the use case and the issues he's having. flip On Mon, Jan 19, 2009 at 9:48 PM, Paul <[email protected]> wrote: > > Calling all Ruby coders. > > I'm trying to help a fellow coder for a project. I wrote an > integration piece that sites under OSCommerce which will basically > perform action like authenticate user, create account, etc. This API > is written is PHP and is callable from remote site. So from a remote > site I can use PHP cURL to post the login form information and it > returns some status information. > > Well the client contracted a different developer to write the remote > pieces of the site. And it's written is Rails. I've tried explaining > to the developer the cURL functionality and even provided my code > examples. No luck. I've searched myself and found but he it not > willing to install this since he pointed out some issues on his server > when installing the gem. > > So reaching out to any Ruby developer that can provide cURL > alternatives. I would think this is something native in the Ruby > language. The important note here is the Ruby code needs to post > variables into my PHP API code. > > Thanks, > Paul > --~--~---------~--~----~------------~-------~--~----~ Our Web site: http://www.RefreshAustin.org/ You received this message because you are subscribed to the Google Groups "Refresh Austin" group. [ Posting ] To post to this group, send email to [email protected] Job-related postings should follow http://groups.google.com/group/Refresh-Austin/web/refresh-austins-job-posting-guidelines. We do not accept job posts from recruiters. [ Unsubscribe ] To unsubscribe from this group, send email to [email protected] [ More Info ] For more options, visit this group at http://groups.google.com/group/Refresh-Austin -~----------~----~----~----~------~----~------~--~---
