diff --git a/src/Vtiger.php b/src/Vtiger.php index 7e7d137..d89b1fa 100644 --- a/src/Vtiger.php +++ b/src/Vtiger.php @@ -504,8 +504,8 @@ public function delete($id) try { // send a request to delete a record - $response = $this->guzzleClient->request('GET', $this->url, [ - 'query' => [ + $response = $this->guzzleClient->request('POST', $this->url, [ + 'form_params' => [ 'operation' => 'delete', 'sessionName' => $sessionId, 'id' => $id,