| GET | /locations | Show all locations. |
| GET | /locations/new | Present form for creating new location. |
| POST | /locations | Create new location. |
| GET | /locations/1 | Show location #1 |
| GET | /locations/1/edit | Present form for updating location #1. |
| PUT | /locations/1 | Update location #1 |
| DELETE | /locations/1 | Delete location #1 |
Use URL parameters _method=PUT or _method=DELETE to generate HTTP verbs not available in browsers.
Use Spring filter HiddenHttpMethodFilter on the server side to support _method parameter.