- https://santrikoding.com/tutorial-set/tutorial-restful-api-laravel-10
- https://medium.com/@vidvatek/laravel-10-rest-api-authentication-using-sanctum-d94a861a5ef9
-
GET || URL : http://localhost:8000/api/posts
-
CREATE DATA => POST || URL : http://localhost:8000/api/posts || key : image(file), title(text), content(text)
-
UPDATE DATA => POST || URL : http://localhost:8000/api/posts/{$id} || key : image(file), title(text), content(text), _method(PATCH)
-
DELETE || URL : http://localhost:8000/api/posts/{$id}
-
Register API: POST, URL:http://localhost:8000/api/register
-
Login API: POST, URL:http://localhost:8000/api/login