Пример #1
0
 public function submit()
 {
     $this->setAuthHeader();
     $this->setURL('/status/');
     $response = RequestSender::send($this->url, $this->authHeader, NULL, $this->method);
     return APIResponse::fromFullResponse($response);
 }
Пример #2
0
 public function submit()
 {
     $this->setURL("/dvtokens/" . $this->dvtoken);
     $response = RequestSender::send($this->url, $this->authHeader, NULL, $this->method);
     return APIResponse::fromFullResponse($response);
 }