POST-ing to a route with id in a relationship


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