Finally I enabled SSL in Apache on my Mac Os. Now I would like to make HTTPS GET/POST requests from a my RoR3 application to another RoR3 application and receive the response.
How can I make this in Ruby on Rails?
For the HTTP GEST/POST "version" I have already solved the issue using Ruby's Net::HTTP class:
require 'net/http'
url = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(url.path)
res = Net::HTTP.start(url.host, url.port) {|http|
http.request(req)
}
puts res.body