private function send($data)
    {
        if (version_compare(ClientInterface::VERSION, '5') === 1) {
            return $this->guzzle->post('/', [
                'headers' => [
                    'AfterBug-Token' => $this->config->getApiKey(),
                ],
                'json' => $data,
            ]);
        }

        return $this->guzzle->request('POST', '/', [
            RequestOptions::JSON => $data,
        ]);
    }