Refactor services and controllers to use ID for updates and standardize DAO method names
This commit is contained in:
14
hibernate-project/test.http
Normal file
14
hibernate-project/test.http
Normal file
@@ -0,0 +1,14 @@
|
||||
### GET request to example server
|
||||
GET http://localhost/users
|
||||
|
||||
###
|
||||
POST http://localhost/users/
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"name": "John Doe",
|
||||
"email": "john.doe@example.com"
|
||||
}
|
||||
|
||||
###
|
||||
DELETE http://localhost/articles/13
|
||||
Reference in New Issue
Block a user