D
Deleted member 860359
Guest
Hi All,
I have a need to trigger post events to the iContact PostURL (WHM -> Basic WebHost Manager Setup -> Contact Information -> URLs of a system to which you want to send POST notifications) via a standardized hook.
As the contact manager does not have this capability, I've written a standardized hook to perform the curl request.
At the moment, I'm retrieving this from /etc/wwwacct.conf.shadow (CONTACTPOSTURL https://dev-api.<redacted>/postMsg).
Is this the correct place on the filesystem to retrieve this?
Is there a better way of doing this? How? (IE: A cpanel module I can include to retrieve this)
Kind Regards,
Hayden Katz
I have a need to trigger post events to the iContact PostURL (WHM -> Basic WebHost Manager Setup -> Contact Information -> URLs of a system to which you want to send POST notifications) via a standardized hook.
As the contact manager does not have this capability, I've written a standardized hook to perform the curl request.
At the moment, I'm retrieving this from /etc/wwwacct.conf.shadow (CONTACTPOSTURL https://dev-api.<redacted>/postMsg).
Is this the correct place on the filesystem to retrieve this?
Is there a better way of doing this? How? (IE: A cpanel module I can include to retrieve this)
Kind Regards,
Hayden Katz