Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 264 Bytes

File metadata and controls

15 lines (8 loc) · 264 Bytes

userApi

A simple example of how to create a RESTful API in Laravel.

Endpoints

Get all users: GET /api/users

Get a single user: GET /api/users/{id}

Create a new user: POST /api/users

Update a user: PUT /api/users/{id}

Delete a user: DELETE /api/users/{id}