I am trying the same on Drupal 9 local instance. I have done the necessary updates basic auth, tried hal_json in parameter and in request URL, still I get a 404 error. Any solutions?
Are you seeing anything in your error logs that might be related to this? Just to make sure, going to something like node/42 works, but going to node/42?_format=hal_json is returning a 404 for the same user?
Hi, I am using drupal 8.2. I have 2 issues. 1.In the video at 3:59, I don't have those permissions. I think that is a minor issue. 2. In the video at 5:41, when I click submit in postman. The error I got is "Symfony\Component\HttpKernel\Exception\UnsupportedMediaTypeHttpException: No route found that matches "Content-Type: hal+json" in Drupal\Core\Routing\ContentTypeHeaderMatcher->filter() (line 49 of core/lib/Drupal/Core/Routing/ContentTypeHeaderMatcher.php)." I am using https and running in my localhost. Does it related to this: www.drupal.org/node/2680769?
How to expose paragraph fields along with node? For example I am having a paragraph fields (title and image) are attached in node, how to get these files value via api.
I HATE DRUPAL..... Rails all the way... I just had to say that... I working on a drupal project and it hurts my soul to do things ass backwards.... enabling REST?!?!?!?!?! really ?!?!?!?! why not REST out of the box... I can't even explain how dumb this is
This video is from 2015. Drupal now goes JSON:API. You might also want to read dri.es/headless-cms-rest-vs-jsonapi-vs-graphql. And maybe name a good content management framework written in Rails. Thank you