E
eastcoastcoder
Is there an equivalent in Ruby to the Perl modules which can "fill out
an html/http form"?
Given a hash, I'd like to either get the query string to append to the
URL for GET's, or the POST contents to append for POST's, as if the
hash was the form[field] = value. The routine should handle the url
encoding and the like.
Any luck?
(If not, anyone up for a quick few lines of Ruby ninjahood?)
an html/http form"?
Given a hash, I'd like to either get the query string to append to the
URL for GET's, or the POST contents to append for POST's, as if the
hash was the form[field] = value. The routine should handle the url
encoding and the like.
Any luck?
(If not, anyone up for a quick few lines of Ruby ninjahood?)