4 ms·
If I'm finding the invoice endpoint through the root instead of a link in the user, won't I need a uri template to know where to put the user id?
by nebulous1 7y ago
If I'm finding the invoice endpoint through the root instead of a link in the user, won't I need a uri template to know where to put the user id?
- geezerjay 7y agoIn REST you do not need URI templates. You discover the invoice collection endpoint through the root endpoint, and once you have a ID you can, say, query the invoice collection endpoint to get to the invoice.