Feel free to. But maybe consider that "taking advantage of HTTP" != "REST".
> PostgREST is REST.
The primary if not sole distinction of a REST system according to the creator of the concept is hyperlinking. From what I understand of postgrest, hyperlinking is nonexistent.
> For example URLs map to resources
Which doesn't really matter when these URLs are magic strings. It's also not really true, URLs are a mix of procedures (/tsearch, literally everything below /rpc) and function names, really, to be passed a bundle of parameters through query strings.
And the project itself recommends using stored procedures (and views) when exposing the system to any sort of untrusted environments.
> it uses HTTP verbs
Not actually relevant to REST, and serving as little more than a form of namespacing.
Perhaps you'd be surprised in knowing that a resource can be a stored procedure, quoting Roy Fielding[1]:
"a single resource can be the equivalent of a database stored procedure, with the power to abstract state changes over any number of storage items"
In general I think PostgREST's REST implementation is evolving. Also, we've had Roy Fielding giving feedback[2] on an issue before. Once we fix that issue, we'll ask him if he thinks if PostgREST is REST. I have a feeling that he might reply positively :-]. We'll see.
[1]:https://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypert...
[2]: https://github.com/PostgREST/postgrest/issues/1089#issuecomm...