How to update To-Many Relationships?
pharkasbence opened this issue · comments
Bence Farkas commented
How can I send a request like this (https://jsonapi.org/format/#crud-updating-to-many-relationships)?
POST /articles/1/relationships/comments HTTP/1.1
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
{
"data": [
{ "type": "comments", "id": "123" }
]
}
Matthew Richardson commented
Hi - this is already open as #88 - it's on the todo list! 😃 I'll close this - feel free to add any extra comments on that issue.