I worked at a company that had an API endpoint for every individual property of an object. (Think /object/5/getColour, object/5/getSize, object/5/getPrice)
They also used POST as a get mechanism. Sometimes. They thought their API was the bees testicles.
I worked at a company that had so many internal APIs (which were granular as yours) that they needed to create a special API router that take complex multi-api query, merge them and cache the result.
At that point you know things got out of hands a long time ago and there's no going back to sanity.
And then we're surprised clients want full-featured CRMs for 500 dollars, no? The manager that fired and rehired you surely got a bonus bigger than your and your colleague 3 month salaries. But, hey, your ego got bigger for proving yourself right, right?
80
u/mothzilla Oct 31 '17
I worked at a company that had an API endpoint for every individual property of an object. (Think /object/5/getColour, object/5/getSize, object/5/getPrice)
They also used POST as a get mechanism. Sometimes. They thought their API was the bees testicles.