News for hackers. Stuff that matters.
Re:PostgREST: REST API for any Postgres database by avinassh on Saturday November 21, 2020 @12:20PM (#25171001)
> Most APIs are not REST, just some RPC-like APIs over HTTP.

Can you elaborate this part? Does PostgREST does that? If not, any example of it

Re:PostgREST: REST API for any Postgres database by corytheboyd on Saturday November 21, 2020 @12:38PM (#25171149)
I think the point is that many people in the wild conflate the term “REST API” with “arbitrary interaction over HTTP”. We’ve all seen examples, the one-off endpoint to fetch that little tertiary bit of data, that one-off POST to invalidate a cache. None of that is REST
Re:PostgREST: REST API for any Postgres database by abraae on Saturday November 21, 2020 @01:12PM (#25171460)
To REST purists, APIs must use HATEOAS to be considered REST.
Re:PostgREST: REST API for any Postgres database by masklinn on Saturday November 21, 2020 @01:21PM (#25171558)
"HATEOAS" is pretty much the only thing REST contains. "REST API" without HATEOAS has no meaning, it's just a stand-in for "good HTTP citizen" (if even that).