Thanks again Fred. I used Ethereal now. And yes the arguments are there 
correctly!

What I found is that the next line:
Net::HTTP.post_form(URI.parse('http://www.something.com/script.php?op=publish'),
 
{"ch" => 0, "cnt" => "something"})

Produces:

POST http://www.something.com/script.php HTTP/1.1
Accept: */*
Content-Type: application/x-www-form-urlencoded
Content-Length: 14
Host: www.something.com

ch=0&cnt=sometext

So it leaves out the ?op=publish from the url
I need to look into that now.

Thanks for your suggestions!
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to