- cross-posted to:
- webdev@programming.dev
- cross-posted to:
- webdev@programming.dev
This is sorta funny for me because as a non cs major who went into it it seems like all the api’s I work with are called rest apis and I was always wondering what a non rest api would be.
SOAP, which is basically dead, or GraphQL.
Hahaha, don’t underestimate jank ass vendor systems. My workplace has at least one business critical thing using SOAP. We’ve been spinning our wheels on deprecating the damn thing for three years.
Lol, I probably should have said “legacy”. Would hope no one is writing new SOAP APIs in 2024!
Our government a few years ago made a cool new system to
sniff on small businesses because they don’t have enough money to defend themselves properly in courttrack cash transactions and it was so hip and new that it used SOAP. That was the first* time I worked with SOAP, until then I managed to avoid it.* I technically worked with SOAP once before but the part I worked on was like ten abstractions away from the protocol.
see. now I have seen references to soap but never really got that to. when it comes down to it my biggest concern is things just work.
This is all very “old man yells at cloud”.
Interesting historical note, but things change.
I’d Agree in most cases, but not in this one.
Rigor in definitions allows us to express a lot of complex things in a compact form. this allows us to treat “Cars” as something different than “Motorcycles” while both a motorized vehicles.
the same is true for REST-API and other API-Types, while all of them are just a means to allow services to exchange data, they tell us a lot about how this exchange happens and what to expect, but only if we use the words in a way that they represent the concept they were meant to represent. Otherwise we end up with meaningless buzz words like “rest”, “agile”, “scrum”, “artificial intelligence” and so forth, instead of meaningful terms found in the jargon of other engineering disciplines like “magnetism”, “gravity” or “motor”.
We’re well past that. I would probably care more if the original idea behind REST solved a real problem, but it doesn’t. It’s architecture astronaut stuff.
If REST is just about using HTTP verbs and status codes smarter, and sending the payload in JSON, I’m good to leave it at that. It’s useful.
Besides, the original definition is not reflective of real world needs - which is why it’s morphed to something else.