diff --git a/app/controllers/ecloud_controller.rb b/app/controllers/ecloud_controller.rb index 4da750ce..1039bede 100644 --- a/app/controllers/ecloud_controller.rb +++ b/app/controllers/ecloud_controller.rb @@ -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