From: Flemming Munk jensen Date: 2008-07-10T15:22:42+09:00 Subject: Re: How do make it post instead of get? Paul Smith wrote: > Change > > req = Net::HTTP::Get.new(url1.path) > > to > > req = Net::HTTP::Post.new(url1.path) > > ? > Well... that run's without any errors too, but i dont get the result i would like. I think i will explain a little more about what i am trying to do ;-) I have a webpage on a m0n0wall (see http://m0n0.ch/wall/) where you can do some user management. On this page is a link that is marked up like this: Now what i want ruby to do is call the page services_captiveportal_users.php with the action "act=del" and the apropriate "id=?", so i can delete users this way. What happens so far, is i get the page with a list of all users currently registered, wich is ok, but the user id i request to be deleted is not deleted?? Is it maybe because of the "onclick="return...blah" in the href?? I have the feeling i am missing some basic law of nature here, and in the process of embarassing myself bigtime... Thanks in advantage BR Flemming -- Posted via http://www.ruby-forum.com/.