Our app represents a good example of the RESTful API, so what is that and why it is appropriate.
Controller’s Methods
| HTTP Verb | Path (URL) | Action (Method) |
| GET | /results | index |
| GET | /results/create | create |
| POST | /results | store |
| GET | /results/{result} | show |
| GET | /results/{result}/edit | edit |
| PUT | /results/{result} | update |
| DELETE | /results/{result} | destroy |
Tip: In the CLI we can run php artisan routes to see all the routes associated with our Laravel application.
