A little late, but I thought I'd mention it -- the Mechanize library is pretty good for this kind of thing. I've used it for a lot of form automations lately.
-TR On Jan 19, 2009, at 10:48 PM, Paul 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 -~----------~----~----~----~------~----~------~--~---
