Providing HTML Content Using Htmx
docs.postgrest.org/en/v12/how-tos/providing-html-content-using-htmx.htmlHTMX in PostgREST!
create or replace function api.index() returns "text/html" as $$
select $html$
<!DOCTYPE html>
<html>
...
</html>
$html$;
$$ language sql;