rest-client / rest-client

Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.

Home Page:https://rubydoc.info/github/rest-client/rest-client/master

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSL_connect returned=1 errno=0 state=error: wrong version number

CarpediemBDev opened this issue · comments

rest-client

response = RestClient.post(rest_url, body.to_json, header)

ssl_version

RestClient::Request.execute(method: :get, url: rest_url, ssl_version: 'SSLv3')

I need to use SSLv3 or higher. How do I do this?
use ruby version : 2.5.5

were you able to set the ssl version?