5 ms·
Interesting. I usually find it easier to generate URLs on the server and more convenient to consume APIs that include links to related resources. The other opt
by saila 6y ago
Interesting. I usually find it easier to generate URLs on the server and more convenient to consume APIs that include links to related resources.
The other option is munging URLs on the client side, which can be tedious.
I'm genuinely curious as to how including links in the response could make an API harder or more annoying to use.
- firebaze 6y agoYou have to know how to parse the response. This usually requires to know what you will receive, which limits the usefulness of generic link responses somehow