Is it permissible to include relationships within the 'included' attribute for the 201 (POST) response?

Is it permissible to make a POST request without specifying relationships, letting the API determine them based on the provided data, and then receive a 201 Created response with both the data and its relationships included in the attributes? Can the ‘include’ query parameter be used with a POST request?

Yes in my experience.

The query param instructs the response document independently of the post body contents

1 Like