Hacker News new | ask | show | jobs
by brillout 2399 days ago
So true.

That said, for an API consumed by third-party developers, REST makes a lot of sense. Otherwise, which is like 98% of the APIs out there, RPC really is superior.

I've implemented a tool similar to what OP is building: Wildcard API [1]

> rather pointless HTTP semantics.

Agree. Actually, while implementing Wildcard API, I made sure to abstract away all HTTP semantics. With Wildcard, you don't think in terms of "HTTP verbs" but you think in terms of functions. Like you are naturally used to.

> It always baffled me how so-called RESTful APIs became popular

I believe REST became popular because it got lot's of exposure since all third-party APIs were using REST.

[1]: https://github.com/reframejs/wildcard-api