I'm trying to make a GET request to a specific article on my drupal 8 website (local). These are the steps I've done:
But the problem is as you can see is that he returns HTML... . Now when I make a REST export view with a list of articles it works ... But not from a node itself.. .
What am I doing wrong?
Drupal 8 doesn't use accept headers for this anymore because it was problematic for caching.
Use ?_format=hal_json instead.
Cache file /home/queryxchang/public_html/apps/frontend/config/../cache/-q-8-170827-web-services-get-request-article-hal-json- could not be written