lib/nds_api/http.rb in nds_api-0.1.6 vs lib/nds_api/http.rb in nds_api-0.1.7

- old
+ new

@@ -27,10 +27,10 @@ private def http_action(post_or_put, url, data) url = URI.parse(url) req = http_verb_object(post_or_put).new( - url.path, + url, 'Content-Type' => 'application/json' ) req.basic_auth api_user, api_password # req.use_ssl = true req.body = data.to_json