<?php
+use GuzzleHttp\Client;
+
class wsServices extends cubeFlashGateway
{
$c->function = $_POST['function'];
$c->insert();
$res = '1';
+
+ $client = new Client(['timeout' => 10.0]);
+ $client->request('post', 'https://suivi.ysl-retailhandbook.com/importCSV.php', ['form_params' => [
+ 'Fluidbook_ID' => $_POST['Fluidbook_ID'],
+ 'page' => $_POST['page'],
+ 'rating' => $_POST['rating'],
+ 'feedback' => $_POST['feedback'],
+ 'country' => $_POST['country'],
+ 'function' => $_POST['function'],
+ ]]);
+
} catch (Exception $e) {
$res = '0';
}