Created
December 27, 2011 11:43
-
-
Save kylefritz/1523379 to your computer and use it in GitHub Desktop.
rest methods reminder
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
Action HTTP Verb Default Url Description | |
Index GET [controller] Gets a collection of resources | |
Show GET [controller]/[id] Gets a single resource identified by id | |
New GET [controller]/new Gets form to a create a new resource | |
Create POST [controller] Creates the new resource | |
Edit GET [controller]/[id]/edit Gets a form to edit a resource by id | |
Update PUT [controller]/[id] Updates the resource identified by id | |
Delete GET [controller]/[id]/delete Gets a form to confirm a delete by id | |
Destroy DELETE [controller]/[id] Deletes the resource identified by id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@nihil2501 this is the ReST route list i made for you the other day.