Login

Endpoint

The default endpoint to login a user is:

http://your-project.test/api/login

Route method

The route method is POST

User fields

Fields required to register a user:

  • email
  • password

Those are the same as a Laravel UI or Laravel Breeze register form, but using form-data to send the inputs.

You can use postman to test the endpoint.

Postman example

Here a postman image to instruct how to send a request to register a user

🍿 Login a user video tutorial