Reduced code reuse in make_requests function