How can I send some http request from postgresql function or trigger

im4LF picture im4LF · Jul 24, 2010 · Viewed 22.9k times · Source

I need to send data via http protocol (GET or POST request) from the function or trigger. Is it possible?

Answer

Kevin picture Kevin · Jul 24, 2010

You could try writing the trigger in PL/Python and use urllib2 to POST.