dev_SaaS
guange 6 years ago
parent 0a176e78ad
commit 7e35e1af0d

@ -178,6 +178,8 @@ class EcloudController < ApplicationController
http.use_ssl = url.start_with?('https')
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(uri.request_uri)
request['Content-Type'] = 'application/json'
request['Accept'] = 'application/json'
response = http.request(request)
response.body

Loading…
Cancel
Save