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.
<form action="/" accept-charset="UTF-8" method="post" id="webform-client-form-9" class="webform-client-form" enctype="multipart/form-data" _lpchecked="1"> <input type="hidden" name="Provider" value="YourLeadSource"> <input type="hidden" name="Client" value="L360"> Fname: <input type="text" name="fname" value="John"><br /> </form>
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&Client=CompanyName&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.