    # File lib/fog/dnsimple/dns.rb, line 78
            def request(params)
              params[:headers] ||= {}
              key = "#{@dnsimple_email}:#{@dnsimple_password}"
              params[:headers].merge!({ "Authorization" => "Basic " + Base64.encode64(key).gsub("\n",''),
                                        "Accept" => "application/json",
                                        "Content-Type" => "application/json" })

              response = @connection.request(params.merge!({:host => @host}))

              unless response.body.empty?
                response.body = Fog::JSON.decode(response.body)
              end
              response
            end