lib/api-client/dispatcher.rb in api-client-1.1.0 vs lib/api-client/dispatcher.rb in api-client-1.1.1

- old
+ new

@@ -5,9 +5,9 @@ Net::HTTP.get_response(URI.parse(url)) end def _post(url = '', args = {}) uri = URI(url) - http = Net::HTTP.new(uri.host) + http = Net::HTTP.new(uri.host, uri.port) http.post(uri.path, args.to_json, { 'Content-Type' => 'application/json' }) end end \ No newline at end of file