@@ -39,6 +39,9 @@ discard block |
||
| 39 | 39 | return json_decode($json, true); |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | + /** |
|
| 43 | + * @param string $relativeUrl |
|
| 44 | + */ |
|
| 42 | 45 | protected function performGetRequest($relativeUrl) |
| 43 | 46 | { |
| 44 | 47 | $this->response = $this->client->request('GET', $relativeUrl); |
@@ -46,6 +49,9 @@ discard block |
||
| 46 | 49 | return $this->getResponse(); |
| 47 | 50 | } |
| 48 | 51 | |
| 52 | + /** |
|
| 53 | + * @param string $relativeUrl |
|
| 54 | + */ |
|
| 49 | 55 | protected function performPostRequest($relativeUrl) |
| 50 | 56 | { |
| 51 | 57 | $this->response = $this->client->request('POST', $relativeUrl, ['json'=> $this->data]); |