diff --git a/lib/benchmark/ips/share.rb b/lib/benchmark/ips/share.rb index e296ab9..a1c2641 100644 --- a/lib/benchmark/ips/share.rb +++ b/lib/benchmark/ips/share.rb @@ -15,7 +15,7 @@ def share base = (ENV['SHARE_URL'] || DEFAULT_URL) url = URI(File.join(base, "reports")) - req = Net::HTTP::Post.new(url) + req = Net::HTTP::Post.new(url, initheader = {'Content-Type' =>'application/json'}) data = { "entries" => @report.data,