Skip to content

REST API with Laravel + Authentication of endpoints with Sanctum

Notifications You must be signed in to change notification settings

manishkak/laravel-auth-with-sanctum

Repository files navigation

Laravel REST API with Sanctum Authorization

Public Routes (open for all)

GET /api/products GET /api/products/id

POST /api/login

POST /api/register

Protected Routes (only for registered & logged in users)

POST /api/products

PUT /api/products/id

DELETE /api/products/id

POST /api/logout

About

REST API with Laravel + Authentication of endpoints with Sanctum

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published