kns_endpoint 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kns_endpoint.rb +1 -0
- metadata +2 -2
data/lib/kns_endpoint.rb
CHANGED
@@ -107,6 +107,7 @@ module Kynetx
|
|
107
107
|
http_session.start { |http|
|
108
108
|
req = Net::HTTP::Post.new(uri.path)
|
109
109
|
headers.each{|key, val| req.add_field(key, val)}
|
110
|
+
puts "Params = \n#{params.to_url_params}" if $KNS_ENDPOINT_DEBUG
|
110
111
|
resp, data = http.request(req, params.to_url_params)
|
111
112
|
@session = parse_cookie(resp, 'SESSION_ID')
|
112
113
|
|