Сreate a resource with all the relationships per one request

Hello,

I’m just getting started JSON API, and I have a question:
for example I there are two entities, “posts” and “comments”. One post has many comments, and comment can’t exists without a related post.

How can I create new post with some new comments related using one request ?
Or the only way is create post and then update relationship ?

Thank you.

1 Like

Check out https://github.com/json-api/json-api/issues/795