Corrected signature of _make_request function