so say I have a controller such that
produces an xml document/quote/xml/200
and I want to create an action "post" in the "quote" controller so that
takes the xml document produced from action "xml" (eg: "/quote/xml/200"), stores it in a string and posts that to a certain url./quote/post/200
how could I go about doing that?
Right now I'm just using the net/http class and trying to do this
but even that is just hanging on the second line of that codePHP Code:url = URI.parse("http://localhost:3000/quote/xml/200")
response = Net::HTTP.get_response(url)
eventually throwing an
error.execution expired
any ideas?




Bookmarks