Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 13 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
54 | View Code Duplication | public function post($uri, array $body = [], array $headers = []) |
|
55 | { |
||
56 | $response = $this |
||
57 | ->client |
||
58 | ->post( |
||
59 | $uri, [ |
||
60 | 'headers' => $headers, |
||
61 | 'form_params' => $body, |
||
62 | ] |
||
63 | ); |
||
64 | |||
65 | return $this->parseResponse($response); |
||
66 | } |
||
67 | |||
127 |