RESTful HTTP API into a PostgreSQL server, as a worker