Create a gist now

Instantly share code, notes, and snippets.

login = 'mail...'
password = 'pass...'
require "net/http"
require "net/https"
uri = URI.parse("")
http =, uri.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
request =
"login" => login,
"password" => password,
response = http.request(request)
# no llego nunca acá rompe en la autentificación.
puts response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment