@@ -52,12 +52,18 @@ |
||
52 | 52 | return $scheme . Config::ARGUS_HOST; |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @param string $path |
|
57 | + */ |
|
55 | 58 | private function arPost($path, $body = null) |
56 | 59 | { |
57 | 60 | $url = $this->getArHost() . $path; |
58 | 61 | return $this->post($url, $body); |
59 | 62 | } |
60 | 63 | |
64 | + /** |
|
65 | + * @param string $url |
|
66 | + */ |
|
61 | 67 | private function post($url, $body) |
62 | 68 | { |
63 | 69 | $headers = $this->auth->authorizationV2($url, 'POST', $body, 'application/json'); |