Building an API Backend with MicroProfile.
- JDK 8+
- Maven
URI Definition
GET | http://localhost:8080/restapi/books | Return a list of all Books |
GET | http://localhost:8080/restapi/books/1 | Return the Book whose ID is 1 |
POST | http://localhost:8080/restapi/books | Create a new Book resource |
PUT | http://localhost:8080/restapi/books/1 | Update the Book whose ID is 1 |
DELETE | http://localhost:8080/restapi/books/1 | Delete the Book whose ID is 1 |
Inspired by this resource