This video, I willl show you how to define get mthod, and create a model class as a table
วิดีโอนี้ผมจะแสดงวิธีสร้าง function ให้เป็นฟังค์ชั่น get และสร้าง Model class ให้เป็นเหมือน Table
1. 00:14 - Create a Model class by using Laravel command
2. 01:30 - Create a Controller class by using Laravel command
3. 01:55 - Define get method function and response as a json
4. 02:45 - Define Router for call get method
Reference :
Laravel : https://laravel.com/
Postman : https://www.postman.com/
Xampp (Apache + MariaDB + PHP + Perl) : https://www.apachefriends.org/downloa...
I can do it, you can do it.