[Integrator] - Web Service call requires a definition of an HTTP_AGENT
[Integrator] - Web Service call requires a definition of an HTTP_AGENT
An HTTP_AGENT is required for webservice call.
We could define the user_agent in the creation of the curl parameters as such :
$os = PHP_OS;
$phpVersion = PHP_VERSION;
$customUserAgent = "FusionDirectory/Integrator 1.0 ($os; PHP $phpVersion; +https://www.fusiondirectory.org)";
curl_setopt($ch, CURLOPT_USERAGENT, $customUserAgent)
Our custom user_agent :
$customUserAgent = "FusionDirectory/Integrator ($os; PHP $phpVersion; https://www.fusiondirectory.org) WebserviceLib";