Use Database.releaseSavepoint and allow HttpCallouts after DML
Making any callout after a DML statement throws CalloutException. In Sprint ’24, Salesforce introduced a new Database.releaseSavepoint method to resolve this explicitly releasing savepoints before making a callout.