# POST-ing to a route with id in a relationship

**URL:** <https://discuss.emberjs.com/t/post-ing-to-a-route-with-id-in-a-relationship/9459>\
**Category:** Ember Data\
**Created:** [January 20, 2016, 2:41pm UTC](https://discuss.emberjs.com/t/post-ing-to-a-route-with-id-in-a-relationship/9459 "2016-01-20T14:41:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henry](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/henry/32/16850_2.png) [@Henry](https://discuss.emberjs.com/u/Henry)\
**Post date:** [January 20, 2016, 2:41pm UTC](https://discuss.emberjs.com/t/post-ing-to-a-route-with-id-in-a-relationship/9459/1 "2016-01-20T14:41:43Z")

</div>

in `ember-data`, when performing a `POST` of a relationship, how can I make the `POST` route to have the Id of the parent of the relationship like is described in jsonapi? for example, having a relationship 1 - many between posts and comments, using a route like `POST /posts/12/comments`
