public function post($url, $data = null, $method = "POST")
  {
    return $this->request([
      CURLOPT_POST => true,
      CURLOPT_CUSTOMREQUEST => $method ?: "POST",
      CURLOPT_URL => "$url",
      CURLOPT_POSTFIELDS => $data ?: '',
    ]);
  }