Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Net::HTTP - POST and GET in the same request
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Enrique Comba Riepenhausen, post: 4561137"] Try the following: http = Net::HTTP.new('[URL]http://www.server.net[/URL]') response = http.post('/post.php', 'x=y', {'A'=>'1','B'=>'2','C' => '3'}) puts response.body Hope it helps! ---- Enrique Comba Riepenhausen [email]ecomba@mac.com[/email] I always thought Smalltalk would beat Java, I just didn't know it would be called 'Ruby' when it did. -- Kent Beck [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Net::HTTP - POST and GET in the same request
Top