I want to send an API request before I store data in my DB so I use mutateFormDataBeforeCreate in my relevant Create Record page. Is it the most suitable way to interrupt the saving process ? I noticed that
protected function mutateFormDataBeforeCreate(array $data): array { dd($data); return $data; }
protected function mutateFormDataBeforeCreate(array $data): array { dd($data); return $data; }