Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295290

REST POST not working after upgrade from 8.9.3 to 9.0.3

$
0
0

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


Viewing all articles
Browse latest Browse all 295290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>