I need to send data via http protocol (GET or POST request) from the function or trigger. Is it possible?
There is an extension to do this, use with caution.
pgsql-http