logoalt Hacker News

_heimdalltoday at 2:02 AM2 repliesview on HN

We gave up on structured APIs 20+ years ago when JSON RPC largely replaced XML REST. You can do REST in many different formats, it mainly just needs to be structured data and self-discoverable.

Had we not made that wrong turn, LLMs and humans would have a much easier time reasoning about APIs they don't directly control.


Replies

ex-aws-dudetoday at 2:08 AM

Yeah but why would we keep that around for 20 years with no good use case

show 1 reply
zepolentoday at 9:04 AM

> You can do REST in many different formats, it mainly just needs to be structured data and self-discoverable.

REST has nothing to do with structured data or discoverability.

show 1 reply