sendRequest()
sendRequest(string $url, array $data = array(), string $method = 'POST', array $attachments = array()) : \Psr\Http\Message\ResponseInterface
Parameters
| string |
$url |
|
| array |
$data |
|
| string |
$method |
|
| array |
$attachments |
|
Throws
- \Exception
Returns
\Psr\Http\Message\ResponseInterface