I need to send data via http protocol (GET or POST request) from the function or trigger. Is it possible?
You could try writing the trigger in PL/Python and use urllib2 to POST.