$cookiePath = $basePath."/storage/cookie";
$cookiePlugin = new FileCookieJar($cookiePath);
$client = new GuzzleHttp\Client();
$data = [
'passwd' => 'test',
'login' => 'test'
];
'body' => $data,
'cookies' => $cookiePlugin
]);
catch exception:
"cookies must be an array, true, or a CookieJarInterface object"