def format_get(path, params)
      query = params.map { |k,v| "#{k}=#{CGI::escape(v.to_s)}" }.join("&")
      Net::HTTP::Get.new("#{path}?#{query}")
    end
def format_get(path, params)
      query = params.map { |k,v| "#{k}=#{CGI::escape(v.to_s)}" }.join("&")
      Net::HTTP::Get.new("#{path}?#{query}")
    end
Internal: Format and create a Net::HTTP get request, with query
 parameters.

 path - the path to get
 params - the params to add as query params to the path

 Examples

   format_get("/api/v2/document/status",
              { :token => <token>, :uuids => <uuids> })
   # => <Net::HTTP::Get:<id>> for
   #    "/api/v2/document/status?token=<token>&uuids=<uuids>"

 Returns a Net::HTTP::Get object for the path with query params