mafs / lumen
The Laravel Lumen Framework.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.2.5
- laravel/lumen-framework: ^7.0
Requires (Dev)
- fzaninotto/faker: ^1.9.1
- mockery/mockery: ^1.3.1
- phpunit/phpunit: ^8.5
This package is not auto-updated.
Last update: 2024-11-19 12:13:57 UTC
README
Documentation
-
Git Clone https://github.com/andrefahrezii/REST-API-Laravel-Lumen.git
-
run laravel lumen with command run laravel lumen with command
-
Metod
- Show All Data
- Input Data note : On the Body tab, friends, select x-www-form-urlencode and in the key section, enter the title and content and don't forget to use the POST method * POST http://localhost:8000/posts/
- Display data by ID note : in the last slash enter the id, here I will give an example with id 3 please enter http://localhost:8000/posts/1 and don't forget to use the GET method. * http://localhost:8000/posts/3
- Update Data note : Now we try to update the data, please, friends, open Postman and enter http://localhost:8000/posts/3 In the Body tab, friends, select x-www-form-urlencode and in the key section, enter the title and content and don't forget to use the PUT method * http://localhost:8000/posts/3
- Delete Data Note : Now friends, you can try the application using Postman, please enter http://localhost:8000/posts/3 and don't forget to use the DELETE method. * http://localhost:8000/posts/3