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 |