Re: [Specifications] managing @id and/or @base for newly created resources / named graphs

I don't think I understand the issue :) 

> In a case where payload includes only single blank node, possibly server could replace it with a Named Node based on IRI it assigns to the resource

What you send to the endpoint using POST is not verbatim what the resulting resource representation will be. Here's how Fielding puts it

> REST components perform actions on a resource by using a representation to capture the current or intended state of that resource and transferring that representation between components

In the case of PUT, I think the `@id` is irrelevant either way. I only makes sense to match the requested resource.

With POST the server is free to reassign the `@id` any way it pleases. As much as it is free to ignore any other unrecognised or "wrong" property the body includes.

-- 
GitHub Notification of comment by tpluscode
Please view or discuss this issue at https://github.com/HydraCG/Specifications/issues/162#issuecomment-381426822 using your GitHub account

Received on Sunday, 15 April 2018 18:21:18 UTC