test taker into group using API TAO 3.2
Hi, I'm trying to insert a taker test into a group via API but the procedure is not successful as it should. In fact, when I go to check the results, the group updates correctly but users are not included.
this is the example code:
$process = curl_init($this->_taoBaseUrl."/taoGroups/Api");
curl_setopt($process, CURLOPT_PUT, 1);
curl_setopt($process, CURLOPT_USERPWD, TAO_ADMIN_USERNAME.":".TAO_ADMIN_PASSWORD);
curl_setopt($process, CURLOPT_RETURNTRANSFER, 1);
$returnedData = curl_exec($process);
$httpCode = curl_getinfo($process, CURLINFO_HTTP_CODE);
$result = json_decode($returnedData, true);
can you help me?