rewrite build_request_params