pub async fn execute_request_and_log<Req: Serialize>( url: String, rest_api_call_type: RestApiCallType, token: Option<String>, request_body: Option<Req>, additional_headers: Vec<(String, String)>, ) -> Result<(), ApiCallError>