protected function doPost($name, $content, $assoc = false) { $res = false; $this->code = 0; $this->respectRateLimit(); try { $rtmp = $this->client->request("POST", sprintf('%s/%s?api_key=%s', $this->node, $name, $this->key), ['form_params' => $content, 'http_errors' => false]); $res = $this->getResult($rtmp, $assoc); } catch (\Exception $e) { } return $res; }