Top
$baseURI = 'https://app-3QNMD1RQ96.marketingautomation.services/webforms/receivePostback/MzawMLEwNLMwBwA/'; $endpoint = 'dbde7e25-abea-475e-acda-d7117fcd226c'; $post_url = $baseURI . $endpoint; $body = array( 'First Name' => $_POST['item_meta'][97], 'Last Name' => $_POST['item_meta'][3078], 'Email Address' => $_POST['item_meta'][98], 'Phone' => $_POST['item_meta'][99], 'Description' => $_POST['item_meta'][100], 'trackingid__sb' => $_COOKIE['__ss_tk'] ); $request = new WP_Http(); $response = $request->post( $post_url, array( 'body' => $body ) ); }