1. 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

Discussion in 'XenForo Development Discussions' started by dieg0, Aug 4, 2016.

  1. dieg0

    dieg0 Active Member

    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: Aug 4, 2016
  2. Thomas.B

    Thomas.B Well-Known Member

    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.
     

Share This Page