Howto get ID on newly created content through Drupal 8 REST POST I have a working decoupled/headless setup working using Drupal 8 beta 10 as a backend, and a html5/js webapp as frontend, on seperate servers.

For this scenario, I'm succesfully able to post new content (an article node) as an anonymous user, using the REST /entity/node endpoint.

This works fine, I receive a 201 "Created" response, but now I'm trying to figure out a way to get the ID of this newly created node so I can GET and render it.

The current documentation and response does not provide a return (N)ID. Am I overlooking something or is this a bug?
Looking at the response code for POST requests, we can see that there's no body but a header set to the full URI of the node. You can save that URI or explode it/parse it to get just the nid.

  // 201 Created responses have an empty body.
  return new ResourceResponse(NULL, 201, array('Location' =&gt; $entity-&gt;url('canonical', ['absolute' =&gt; TRUE])));