Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Nested REST Resources

$
0
0
Let's say, I am editing posts and their comments. The REST method to get the comments of post is

"GET /posts/{postid}/comments"

There will never be a findAll for comments. I will get them from the parent post. How can be modeled in canJS? There are no nested REST resource examples around.

Viewing all articles
Browse latest Browse all 3491

Trending Articles