My code is this:
xxx is my host
POST https://xxx/app/entity/node?_format=hal_json
Content-Type:application/hal+json
Accept:application/hal+json
BODY
{
"_links": {
"type": {
"href": "https://xxx/app/rest/type/node/app"
}
},
"title": [
{
"value": "Title1"
}
]
}
In Drupal 8.9.1 the Result: 201
In Drupal 9.0.1 the Result: 404
The log says:
Type page not found
Date Monday, June 22, 2020 - 09:40
User app_user
Location https://xxx/app/entity/node?_format=hal_json
Referrer
Message /app/entity/node?_format=hal_json
Severity Warning
Hostname xx.xx.xx.xx
Operations