/** * @param $action * @param $data * @return mixed * @throws ConnectionErrorException * @throws CAInfoException * @throws CAPathException * @throws SSLVersionException */ protected function putRequest($action, $data) { return $this->restConnection->putRequest($action, $data); }
public function testPutRequest() { self::assertNotFalse(self::$restConnection->putRequest('/test-put-request', ['data' => 'test'])); }