lib/socketlabs/injectionapi/core/http_request.rb
# headers to add to the request
headers to add to the request
headers to add to the request
def headers
          [
              { :key => "User-Agent", :value => user_agent},
              { :key => "Content-Type", :value => "application/json; charset=utf-8" },
              { :key => "Accept", :value => "application/json"}
          ]
        end
def headers [ { :key => "User-Agent" , :value => user_agent } , { :key => "Content-Type" , :value => "application/json; charset=utf-8" } , { :key => "Accept" , :value => "application/json" } ] end
headers to add to the request
headers to add to the request