Example #1
0
 /**
  * @param $action
  * @param $data
  * @return mixed
  * @throws ConnectionErrorException
  * @throws CAInfoException
  * @throws CAPathException
  * @throws SSLVersionException
  */
 protected function postRequest($action, $data)
 {
     return $this->restConnection->postRequest($action, $data);
 }
Example #2
0
 public function testDeleteRequest()
 {
     self::assertNotFalse(self::$restConnection->deleteRequest('/test-delete-request', ['data' => 'test']));
 }