added ssl verification

This commit is contained in:
olegphenomenon 2022-02-07 15:09:05 +02:00
parent 61c90b73ca
commit de9504fef7
5 changed files with 16 additions and 0 deletions

View file

@ -52,5 +52,9 @@ def base_request(url:, json_obj:)
'Accept' => TOKEN
}
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
http.post(url, json_obj.to_json, headers)
end