standardize request parameter extraction