Re:PostgREST: REST API for any Postgres database
by joking on Saturday November 21, 2020 @12:32PM
(#25171108)
because actually is a great idea. maybe there are some cases where it’s not the best option, but many times it’s much better option than having to code a custom api code and you can invest that time in building more features instead of dealing with plumbing.
Re:PostgREST: REST API for any Postgres database
by kissgyorgy on Saturday November 21, 2020 @12:15PM
(#25170950)
Lots of developers in general doesn't seem to understand the concept of a REST API. What are the benefits? Why are we doing this at all? How to do it properly?
Most APIs are not REST, just some RPC-like APIs over HTTP.
When you have a tool like this, it's just easier to use it and call it a day - without thinking too much or learning the concepts properly.
Re:PostgREST: REST API for any Postgres database
by philwelch on Saturday November 21, 2020 @04:05PM
(#25172760)
REST isn’t an architecture for designing HTTP API’s; it’s an architecture for designing HTTP itself. https://twobithistory.org/2020/06/28/rest.html
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
I know GitHub stars are not a measure of whether something is a good idea or not - but why do you think so many have positively engaged with it?