Last active
March 5, 2023 09:25
-
-
Save missating/0de6f4518df9ffa40352676fb05847dc to your computer and use it in GitHub Desktop.
Blog routes table showing the 7 different route for my medium post Restful routes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NAME | PATH | HTTP VERB | PURPOSE | | |
|----------|----------------|-----------------|--------------------------------------| | |
| Index | /blog | GET | Displays all blog post | | |
| New | /blog/new | GET | Shows new form for new blog entry | | |
| Create | /blog | POST | Creates a new blog post | | |
| Show | /blog/:id | GET | Shows one specified blog post | | |
| Edit | /blog/:id/edit | GET | Shows edit form for one blog post | | |
| Update | /blog/:id | PUT | Updates a particular blog post | | |
| Destroy | /blog/:id | DELETE | Deletes a particular blog post | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is really helpful, thank you!