Skip to content

Instantly share code, notes, and snippets.

@halfnibble
Created April 23, 2023 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save halfnibble/0463920059cf04eeb0df4442eb0e5f06 to your computer and use it in GitHub Desktop.
Save halfnibble/0463920059cf04eeb0df4442eb0e5f06 to your computer and use it in GitHub Desktop.
API Readme Table
Method Path Purpose
GET / Home page
GET /places Places index page
POST /places Create new place
GET /places/new Form page for creating a new place
GET /places/:id Details about a particular place
PUT /places/:id Update a particular place
GET /places/:id/edit Form page for editing an existing place
DELETE /places/:id Delete a particular place
POST /places/:id/rant Create a rant (comment) about a particular place
DELETE /places/:id/rant/:rantId Delete a rant (comment) about a particular place
GET * 404 page (matches any route not defined above)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment