mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
11 lines
258 B
Ruby
11 lines
258 B
Ruby
require "typhoeus"
|
|
|
|
# BAD
|
|
Typhoeus.get("https://www.example.com", ssl_verifypeer: false)
|
|
|
|
# BAD
|
|
post_options = { body: "some data", ssl_verifypeer: false }
|
|
Typhoeus.post("https://www.example.com", post_options)
|
|
|
|
# GOOD
|
|
Typhoeus.get("https://www.example.com") |