build the request body using get_body_file if needed