by hakfoo · 8y ago · 0 comments
I've seen some APIs which screan "we just mapped the database tables to API calls". This theoretically offers loads of flexibility, but at a cost of performance and ease in the typical case.
Think of the difference between GET /orderdetails/12345
and
GET /order/1234 GET /customer/2345 GET /product/234 GET /product/345 GET /address/5678 GET /paymentinfo/3456 ...
No comments yet.