search for: responsestream

Displaying 1 result from an estimated 1 matches for "responsestream".

2006 Nov 30
0
Query string based on the selection in HTTP POST
...;zip=60008. How could I achieve this using http::POST? I tried the following, which didn''t work url = "{''id'' => 1, ''zip'' => 60008}" res = Net::HTTP.post_form(URI.parse''http://www.test.com/search.php''),url) res = @responsestream = res.body I guess url is a string and in the post_form it''s suppose to be hash. Not sure how to do that. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ru...