@@ -70,6 +70,9 @@ discard block |
||
70 | 70 | return json_decode($json, true); |
71 | 71 | } |
72 | 72 | |
73 | + /** |
|
74 | + * @param string $relativeUrl |
|
75 | + */ |
|
73 | 76 | protected function performGetRequest($relativeUrl) |
74 | 77 | { |
75 | 78 | $this->response = $this->client->request('GET', $relativeUrl); |
@@ -77,6 +80,9 @@ discard block |
||
77 | 80 | return $this->getResponse(); |
78 | 81 | } |
79 | 82 | |
83 | + /** |
|
84 | + * @param string $relativeUrl |
|
85 | + */ |
|
80 | 86 | protected function performPostRequest($relativeUrl, $data) |
81 | 87 | { |
82 | 88 | $this->response = $this->client->request('POST', $relativeUrl, ['json'=> $data]); |