Blog example from Using Spring With Jersey
mvn jetty:run
| Method | URL | Description |
|---|---|---|
| GET | http://localhost:8080/api/customers | Get all customers |
| GET | http://localhost:8080/api/customers/{id} | Get customer by id |
| POST | http://localhost:8080/api/customers | Create a customer |
| PUT | http://localhost:8080/api/customers/{id} | Update a customer |
| DELETE | http://localhost:8080/api/customers/{id} | Delete a customer |