Laravel
Crema has some auth inbuilt APIs. Demo APIs listed here -
You can find out the Laravel auth APIs public repo here
All Auth APIs listed here -
Register User
POST
http://crema-laravel.herokuapp.com/api/users
This endpoint allows you to get free cakes.
Request Body
Name | Type | Description |
---|---|---|
name | string | Name of the user |
string | Email of the user | |
password | string | Password for the account |
Login User
POST
http://crema-laravel.herokuapp.com/api/auth
Request Body
Name | Type | Description |
---|---|---|
string | Email of the user | |
password | string | Password of the account |
Auth User
GET
http://crema-laravel.herokuapp.com/api/auth
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Bearer token |
Last updated