• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Sending custom post request after registration

dieg0

Active member
#1
Hello,

I would like to know how to send a POST request to a third party domain with the user data (name, gender, birth date, etc) right after registration goes through in my xenforo forum.

Appreciate it if someone could point me in the right direction (y)
 
Last edited:

Thomas.B

Well-known member
#2
You could either override _completeRegistration() (XenForo_ControllerPublic_Register) or actionEmail() (XenForo_ControllerPublic_AccountConfirmation), then grab the user data from the parent method's view params and send them with Zend_Http_Client to your other site.