6 ms·
That second point is almost never true " the same REST/data API can serve your website and other consumers, e.g. any native mobile apps or third party API consu
by throwaway7783 2mo ago
That second point is almost never true
" the same REST/data API can serve your website and other consumers, e.g. any native mobile apps or third party API consumers"
In a reasonably complex application, each interface ends up needing its own shape of optimized APIs. Otherwise the clients become very complex munging/reshaping data or making too many API calls, throwing away a lot of data etc.
- robertlagrant 2mo agoFair point, yes.