2 ms·
I'm recommending this post to everybody I'm working with. Many APIs are targeted to internal teams creating SPAs nowadays. Maybe the same developer writes both
by pmontra 9y ago
I'm recommending this post to everybody I'm working with.
Many APIs are targeted to internal teams creating SPAs nowadays. Maybe the same developer writes both the backend API and the fronted app. Those APIs tend to be a wild west of all the mistakes the post is about. Documentation is often sub optimal, not to talk about vulnerabilities introduced by quick and dirty hacks because the team decides that the backend can trust the frontend (missing validations and missing authorization checks are common in the experience of a collegue working on penetration tests.)
Unfortunately such badly designed APIs are going to hinder the development of new functionality for the time being. We're moving from spaghetti code to spaghetti APIs.