Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

POST-ing to a route with id in a relationship

$
0
0

@Henry wrote:

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles