How would I connect two resources in Rest? Like putting a label on a document? create both /label and /document resource โฆ and ?
3
@owehrens Depends on what your model actually is, but how about adding a label via POST to .../labels/ ?
1
@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
Dec 12, 2012 ยท 5:47 AM UTC
1


