def add_query_param(query, key, value)
      query = query.to_s
      query << '&' unless query.empty?
      query << "#{::Faraday::Utils.escape key}=#{::Faraday::Utils.escape value}"
    end
def add_query_param(query, key, value)
      query = query.to_s
      query << '&' unless query.empty?
      query << "#{::Faraday::Utils.escape key}=#{::Faraday::Utils.escape value}"
    end
Internal: Append key-value pair to REST query string

 query - The String of the existing request query url.

 key   - The String that represents the param type.

 value - The String that represents the param value.