You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
filename : lib/watson/remote.rb line # : 64 tag : review md5 : 663b8e2b89d43c517ffed3360f37b4d7
# [review] - Not sure if to fail with no method or default to GET?
case opts[:method].upcase
when "GET"
_req = Net::HTTP::Get.new(_uri.request_uri)
when "POST"
_req = Net::HTTP::Post.new(_uri.request_uri)
else
debug_print "No method specified, cannot make HTTP request\n"
return false
end
# Check for basic authentication key in hash
if opts[:basic_auth].size == 2
_req.basic_auth(opts[:basic_auth][0], opts[:basic_auth][1])
end
The text was updated successfully, but these errors were encountered:
filename : lib/watson/remote.rb
line # : 64
tag : review
md5 : 663b8e2b89d43c517ffed3360f37b4d7
The text was updated successfully, but these errors were encountered: