- GORM Version: 6.1.10.RELEASE
- Grails Version: 3.3.8
./grailsw run-app
or
./gradlew bootRun
PUT http://localhost:8080/document/1
Accept: */*
Cache-Control: no-cache
Content-Type: application/json
{
"id": 1,
"number": "0001 updated",
"date": "2019-04-02T13:04:42Z",
}
###
{
"id": 1,
"number": "0001 updated",
"date": "2019-04-02T13:04:42Z",
"comment": "UPDATED..." // timestamp
}
{
"id": 1,
"number": "0001 updated",
"date": "2019-04-02T13:04:42Z",
"comment": "UPDATED..." // timestamp
// no problem
}
GET http://localhost:8080/document/1
Accept: */*
Cache-Control: no-cache
Content-Type: application/json
###
{
"id": 1,
"number": "0001 updated",
"date": "2019-04-02T13:04:42Z",
"comment": "UPDATED..." // timestamp
}
{
"id": 1,
"number": "0001 updated",
"date": "2019-04-02T13:04:42Z",
// missing comment value !!!
}