Skip to content

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

Notifications You must be signed in to change notification settings

SantosReis/laravel-rest

 
 

Repository files navigation

Laravel RESTful API

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

Endpoints

Get all posts: GET /api/posts

Get a single post: GET /api/posts/{id}

Create a new post: POST /api/posts

Update a post: PUT /api/posts/{id}

Delete a post: DELETE /api/posts/{id}

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 81.2%
  • Blade 18.0%
  • Shell 0.8%