Register a user

Endpoint

The default endpoint to register a user is:

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

Route method

The route method is POST

User fields

Fields required to register a user:

  • name
  • email
  • password
  • password_confirmation

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

🍿 Register a user