Invoke HTTP request

Hi Folks,

I suspect this will be a 1-liner from someone, as it seems like it
should be really easy but I've not worked it out yet.

I am just looking to invoke a GET request to a remote HTTP resource
(php script) from my rails3 app, with some URL parameters. I'm not
bothered about the response, essentially I am looking to trigger a PHP
method through this.

Whats the best way to proceed with this kind of requirement?

Muchos thanks guys

Paul

Hi folks,

Can I take it that this is harder than it sounds? Would have thought
it should be dead simple but not sure.

Thanks,

Paul

Nope, on the contrary, you're right, it's very starightforward.
Googling "ruby http request" got me the API:

http://ruby-doc.org/stdlib/libdoc/net/http/rdoc/classes/Net/HTTP.html