Refactor: Split apb_send() logic according to request type.