Auth problem in Laravel

I know that laravel has an official auto expansion pack that comes with auto out of the box.
but what is officially given is a form, how can it be transformed into a separate api interface?
or do you have to write it yourself?

Mar.07,2021
Menu