Skip to content

Instantly share code, notes, and snippets.

@jim-clark
Last active April 17, 2024 14:10
Show Gist options
  • Save jim-clark/21dde08d3fbf33ff9ac23e5a576446b3 to your computer and use it in GitHub Desktop.
Save jim-clark/21dde08d3fbf33ff9ac23e5a576446b3 to your computer and use it in GitHub Desktop.

RESTful ROUTING QUIZ

Name: ________________

Score: ____ out of 18 = ____%


Example resource: cats

HTTP Method
(Verb)
Path (Endpoint) CRUD Operation Has Data
Payload
GET /cats Read all cats No
Read a specific cat
Create a new cat
Update specified cat
Delete specified cat

Additional Common Non-RESTful (CRUD-less) Routes

HTTP Method
(Verb)
Path (Endpoint) Purpose Has Data
Payload
Return view (form) to add a new cat
Return view (form) to edit a cat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment