How would I connect two resources in Rest? Like putting a label on a document? create both /label and /document resource โ€ฆ and ?
3
Replying to @owehrens
@owehrens Depends on what your model actually is, but how about adding a label via POST to .../labels/ ?

Dec 11, 2012 ยท 9:56 PM UTC

1
Replying to @stilkov
@stilkov I got that but how to put the label on the document ?
1
@owehrens POST to ./labels to add one, PUT with a list of labels to replace them
1