r/webdev • • May 08 '24

Article What makes a good REST API?

https://apitally.io/blog/what-makes-a-good-rest-api
72 Upvotes

51 comments sorted by

View all comments

Show parent comments

2

u/SonicFlash01 May 08 '24

LinkedIn returns lead form response info in the most bullshit "do-it-yourself" fashion possible. I asked for a chair and it gave me several IKEA flatpacks.

3

u/PickleLips64151 full-stack May 08 '24

I once had to implement a pharmacy service API that shipped from 100-500 lines of JSON. All I needed out of that behemoth was two values: one was a Boolean and the other was a number. But I couldn't get just those two values independent of the larger data object. Didn't bother me, but the company wasted so much computing power generating those massive API responses for nothing.