Hook into Web-Form POST to send another POST request to 3rd Party Server? The site I am working on has multiple Contact us type forms that are using a web-form plugin. They have a contact form that is on every page, 1 to 2 times per page. This contact form saves to the back-end and database when submitted.

Below is the basic form without the form elements.

&lt;form action="/" accept-charset="UTF-8" method="post" id="webform-client-form-9" class="webform-client-form" enctype="multipart/form-data" _lpchecked="1"&gt;
  &lt;input type="hidden" name="Provider" value="YourLeadSource"&gt;
  &lt;input type="hidden" name="Client" value="L360"&gt;
  Fname: &lt;input type="text"  name="fname" value="John"&gt;&lt;br /&gt;
&lt;/form&gt;


Now I have been tasked with keeping the current functionality, posting and saving to the database, but also adding new functionality to make it also POST or GET the same form submission to a third party site called leads360.

I need to have it also send a POST or GET request with the form data to https://secure.leads360.com/Import.aspx?Provider=TeledirectBusinessName&amp;Client=CompanyName&amp;CampaignId=12345.

In theory this should be really easy, if I can hook into the system and send a POST or even a GET request to that URL which will then post data into the third-party system.

The problem is my limited knowledge of Drupal. I know its plugin/hook system is nothing like WordPress or Magento.

Would you use some sort of hook in the backend, or intercept the post with JavaScript the way the Stripe API does for payments?
There's the Webform Remote Post module that does exactly this.