Apoc triggers and REST api calls

how to setup a trigger on the basis of any update in a node or relationship, and call a external POST API, and send the updated data as request body. i have been able to make POST API calls but unable to put a trigger on a particular kind of node or relationship. Any ideas ?